Skip to content
This repository has been archived by the owner on Sep 1, 2023. It is now read-only.

Commit

Permalink
First Ghost Android Commit 🍾
Browse files Browse the repository at this point in the history
Refs #1

- Rename Quill => Ghost
- Adds new app icon
- Update Gradle deps
- Minor readme changes
- This is my first time committing anything in an android app and I have no idea what I'm doing
- Everything is fine
- Don't panic
  • Loading branch information
JohnONolan authored and vickychijwani committed Oct 21, 2017
1 parent bba53eb commit d667cc0
Show file tree
Hide file tree
Showing 13 changed files with 25 additions and 20 deletions.
12 changes: 5 additions & 7 deletions README.md
@@ -1,5 +1,3 @@
[![](http://i.imgur.com/iuTrwv9.png)][playstore]

<img src="screenshots/demo.gif" width="320" align="right" hspace="20">

[![](https://img.shields.io/circleci/project/vickychijwani/quill.svg)](https://circleci.com/gh/vickychijwani/quill)
Expand All @@ -8,7 +6,7 @@
[![Join the chat on Gitter](https://badges.gitter.im/vickychijwani/quill.svg)](https://gitter.im/vickychijwani/quill?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
![](https://img.shields.io/github/tag/vickychijwani/quill.svg)

Quill is the beautiful Android app for your [Ghost](https://ghost.org) blog. Get it [here on the Google Play Store][playstore].
The official Ghost Android application. Get it [here on the Google Play Store][playstore].

<a href='https://play.google.com/store/apps/details?id=me.vickychijwani.spectre&utm_source=global_co&utm_medium=prtnr&utm_content=Mar2515&utm_campaign=PartBadge&pcampaignid=MKT-Other-global-all-co-prtnr-py-PartBadge-Mar2515-1'><img alt='Get it on Google Play' src='https://play.google.com/intl/en_us/badges/images/generic/en_badge_web_generic.png' width='300px'/></a>

Expand All @@ -18,17 +16,17 @@ Quill is the beautiful Android app for your [Ghost](https://ghost.org) blog. Get
- **Markdown editing with preview** - swipe to switch between editing and previewing
- **100% Markdown compatibility with Ghost** - go ahead and use footnotes and code blocks like you're used to
- Works with **[Ghost Pro](https://ghost.org/pricing/)** (ghost.io) as well as **self-hosted blogs**
- **Offline mode**: Quill is designed to work 100% offline: just sync when you're connected later! Ideal for writing on the go
- **Offline mode**: Ghost Android is designed to work 100% offline: just sync when you're connected later! Ideal for writing on the go
- **Attach tags and a cover image** - upload images from your phone or a web link
- **[Conflict handling][conflict-ui]** - when a blog post is edited simultaneously from the app and elsewhere (e.g., via Ghost web), Quill will detect the conflict and show you a nice UI to decide what to do - so you never lose your hard work!
- **[Conflict handling][conflict-ui]** - a simple UI to help decide what to do next when a post is edited from two places at once

### Bug reports? Feature requests?

[File an issue](/CONTRIBUTING.md)

### Help translate Quill
### Help translate Ghost

If you'd like to see support for your language in Quill, you can easily [contribute translations on Weblate][weblate]. _This requires no setup and no knowledge of Android development_, just keep in mind a few simple rules:
If you'd like to see support for your language in Ghost, you can easily [contribute translations on Weblate][weblate]. _This requires no setup and no knowledge of Android development_, just keep in mind a few simple rules:

- Many strings have [placeholders](http://envyandroid.com/android-string-xml-resource-formatting/) like "%s", "%d", "%2$s", etc. - keep these intact because other numbers and strings are inserted into these placeholders
- Single and double quotes need to be preceded with a backslash character (\' and \" respectively)
Expand Down
8 changes: 7 additions & 1 deletion app/build.gradle
Expand Up @@ -20,7 +20,7 @@ apply plugin: 'com.jakewharton.hugo'

android {
compileSdkVersion 25
buildToolsVersion '25.0.2'
buildToolsVersion '26.0.2'

defaultConfig {
applicationId 'me.vickychijwani.spectre'
Expand All @@ -32,6 +32,12 @@ android {

// enable support for vector drawables on API < 21
vectorDrawables.useSupportLibrary = true

javaCompileOptions {
annotationProcessorOptions {
includeCompileClasspath = true
}
}
}
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_8
Expand Down
2 changes: 1 addition & 1 deletion app/src/debug/res/values/strings.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<string name="app_name" translatable="false">Quill (Debug)</string>
<string name="app_name" translatable="false">Ghost (Dev)</string>

</resources>
Expand Up @@ -15,12 +15,12 @@

public class AboutActivity extends BaseActivity {

public static final String URL_GITHUB_CONTRIBUTING = "https://github.com/vickychijwani/quill/blob/master/CONTRIBUTING.md#reporting-bugs";
public static final String URL_GITHUB_CONTRIBUTING = "https://github.com/tryghost/ghost-android/blob/master/CONTRIBUTING.md#reporting-bugs";
public static final String URL_TRANSLATE = "https://hosted.weblate.org/engage/quill/en/";
public static final String URL_MY_WEBSITE = "http://vickychijwani.me";
public static final String URL_TWITTER_PROFILE = "https://twitter.com/vickychijwani";
public static final String URL_GITHUB_REPO = "https://github.com/vickychijwani/quill";
public static final String URL_GITHUB_PROFILE = "https://github.com/vickychijwani";
public static final String URL_MY_WEBSITE = "http://ghost.org";
public static final String URL_TWITTER_PROFILE = "https://twitter.com/tryghost";
public static final String URL_GITHUB_REPO = "https://github.com/tryghost/ghost-android";
public static final String URL_GITHUB_PROFILE = "https://github.com/tryghost";

@Bind(R.id.toolbar) Toolbar mToolbar;
@Bind(R.id.about_version) TextView mVersionView;
Expand Down
Binary file modified app/src/main/res/drawable-hdpi/ic_launcher.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-mdpi/ic_launcher.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xhdpi/ic_launcher.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xxhdpi/ic_launcher.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified app/src/main/res/drawable-xxxhdpi/ic_launcher.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion app/src/main/res/values/dont_translate.xml
Expand Up @@ -3,7 +3,7 @@

<!-- strings in this file should NOT be translated to other locales -->

<string name="app_name" translatable="false">Quill</string>
<string name="app_name" translatable="false">Ghost</string>
<string name="lorem_ipsum" translatable="false">Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry\'s standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages.\n\nContrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. Richard McClintock, a Latin professor at Hampden-Sydney College in Virginia, looked up one of the more obscure Latin words, consectetur, from a Lorem Ipsum passage, and going through the cites of the word in classical literature, discovered the undoubtable source.</string>
<string name="vicky_chijwani" translatable="false">Vicky Chijwani</string>
<string name="ghost" translatable="false">ghost</string>
Expand Down
3 changes: 2 additions & 1 deletion build.gradle
Expand Up @@ -5,7 +5,8 @@ buildscript {
jcenter()
}
dependencies {
classpath 'com.android.tools.build:gradle:2.3.1'
classpath 'com.android.tools.build:gradle:3.0.0-rc1'
classpath 'io.realm:realm-gradle-plugin:2.3.1'

// NOTE: Do not place your application dependencies here; they belong
// in the individual module build.gradle files
Expand Down
4 changes: 2 additions & 2 deletions gradle/wrapper/gradle-wrapper.properties
@@ -1,6 +1,6 @@
#Fri Mar 03 06:17:34 IST 2017
#Tue Oct 17 21:48:38 HKT 2017
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-3.3-all.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-4.1-all.zip
4 changes: 2 additions & 2 deletions markdown/README.md
Expand Up @@ -15,7 +15,7 @@

npm run build

4. Copy the generated file from the build/ folder to quill/app/src/main/assets/
4. Copy the generated file from the build/ folder to ghost-android/app/src/main/assets/

5. The next build of the app will pick up the converter

Expand All @@ -36,4 +36,4 @@

npm run build

5. Copy the generated file from the build/ folder to quill/app/src/main/assets/
5. Copy the generated file from the build/ folder to ghost-android/app/src/main/assets/

0 comments on commit d667cc0

Please sign in to comment.