2453 Commits

Author SHA1 Message Date
Aditya-Sood
84d2e3d166 Update implementation details in NoteKeeper.txt 2019-06-07 19:41:39 +05:30
Aditya-Sood
3676cd01e0 Increment: Save option disabled until note edited
Use TextWatcher to enable save option in toolbar only after user makes a change to the note. Option stays disabled otherwise.
(In keeping with the Material Design guidelines)
2019-06-07 19:41:39 +05:30
Aditya-Sood
3e7b69581c Increment: Note file (if exists) now displayed when the AddNoteDialog opens
If the note file corresponding to the current article exists, then it is displayed in the note content area when the add note dialog is opened
2019-06-07 19:41:39 +05:30
Aditya-Sood
d213270854 Minor UI/UX improvements
- Note area extends to the full screen, with added provision of scrolling for very long notes
- Toast displays result of note file saving (successful or otherwise)
2019-06-07 19:41:39 +05:30
Aditya-Sood
4437d45f5d Refactor to use variables for ZIM file and article titles 2019-06-07 19:41:39 +05:30
Aditya-Sood
368074074e Fix Bug: Note files not getting saved
1) Fixed procedure for saving notes on API level 23+ (Marshmallow onwards), which uses run-time permission checks (& grants) instead of install-time grants

2) Use mkdirs() instead of mkdir() {as the desired path may require creation of multiple directories}

3) Shifted constants from MainActivity.java to Constants.java
2019-06-07 19:41:39 +05:30
Aditya-Sood
21de8175de Minor UI improvement
Note dialog now displays the article title (in text view at top of note area)
2019-06-07 19:41:39 +05:30
Aditya-Sood
9c6bafbf48 Increment: Note files now saved in required manner
Note files are now being saved as per: {External Storage}/Kiwix/Notes/WikiName/ArticleName.txt
2019-06-07 19:41:39 +05:30
Aditya-Sood
38e8eddfb5 Increment: Files now being saved at current directory 2019-06-07 19:41:39 +05:30
Aditya-Sood
e0c5142707 Partial functionality for Save Note
Added code for creating relevant folder (if it doesn't exist) as per: {External Storage}/Kiwix/Notes/
Next: Code for creating a text file in above directory from the entered note text
2019-06-07 19:41:39 +05:30
Aditya-Sood
6466d5cba4 Bug Fix: Missing menu options in Add Note Dialog 2019-06-07 19:41:39 +05:30
Aditya-Sood
f10dbdb083 Updated steps for implementing the feature 2019-06-07 19:41:39 +05:30
Aditya-Sood
1394b97cff Minor UI improvements + Update NoteKeeper.txt 2019-06-07 19:41:39 +05:30
Aditya-Sood
9adeb988e7 Update NoteKeeper.txt 2019-06-07 19:41:39 +05:30
Aditya-Sood
80d897dce4 Basic UI
Barebones UI for the Note Keeper ready, in the form of a fullscreen dialog
Next: UI Enhancements and adding functionality to menu buttons (Save, Share)
2019-06-07 19:41:39 +05:30
Aditya-Sood
a11f1ed8e8 File with implementation details for Note Keeper 2019-06-07 19:40:33 +05:30
Aditya-Sood
fc7b63621b GSoC project abstract 2019-06-07 19:40:33 +05:30
Sean Mac Gillicuddy
57149e8227 #1193 fully replace History database with objectbox version 2019-06-07 14:39:14 +01:00
Sean Mac Gillicuddy
9070e6a16b #1193 fix or migrate unit tests 2019-06-07 11:00:45 +01:00
Aditya-Sood
38f236b9f1 Remove non-essential file (abstract.txt) 2019-06-07 13:41:04 +05:30
Aditya-Sood
5f8ba8f038 GSoC project abstract 2019-06-07 13:41:04 +05:30
Aditya-Sood
1cd964c8e7 Remove non-essential file (abstract.txt) 2019-06-07 13:41:04 +05:30
Aditya-Sood
9f0a6b617d GSoC project abstract 2019-06-07 13:41:04 +05:30
Sean Mac Gillicuddy
004c274c02 - unify datasource for main and on device tab - fix unit test erroring to std - undo default parameters on data classes,instead have top level test functions - purge powermock 2019-06-06 17:20:38 +01:00
Sean Mac Gillicuddy
019af7be33 #1175 add second dash to dump command 2019-06-05 15:15:33 +01:00
Sean Mac Gillicuddy
0671779d40 fix toolbar not rendering 2019-06-05 14:45:10 +01:00
Sean Mac Gillicuddy
bb00b063a3 -readd deleted activity -revert application supertype to MultiDexApplication -temp solution to stop crash in Repository - readd tables that will be replaced by objectbox - reimplement parcelable Language 2019-06-05 14:16:46 +01:00
Sean Mac Gillicuddy
22e5d3226e re-enable multidex, add ktx libraries and fix some compile errors in Instrumentation tests 2019-06-05 12:37:39 +01:00
Sean Mac Gillicuddy
3cb357f9bd Merge branch 'master' into macgills/2.5-mergeable-to-dev
# Conflicts:
#	app/build.gradle
#	app/src/androidTest/java/org/kiwix/kiwixmobile/database/KiwixDatabaseTest.java
#	app/src/androidTestKiwix/java/org/kiwix/kiwixmobile/tests/DownloadTest.java
#	app/src/androidTestKiwix/java/org/kiwix/kiwixmobile/tests/NetworkTest.java
#	app/src/main/AndroidManifest.xml
#	app/src/main/java/org/kiwix/kiwixmobile/KiwixApplication.java
#	app/src/main/java/org/kiwix/kiwixmobile/base/BaseFragment.java
#	app/src/main/java/org/kiwix/kiwixmobile/data/local/dao/BookDao.java
#	app/src/main/java/org/kiwix/kiwixmobile/data/local/dao/NetworkLanguageDao.java
#	app/src/main/java/org/kiwix/kiwixmobile/data/local/entity/BookDataSource.java
#	app/src/main/java/org/kiwix/kiwixmobile/data/remote/KiwixService.java
#	app/src/main/java/org/kiwix/kiwixmobile/database/KiwixDatabase.java
#	app/src/main/java/org/kiwix/kiwixmobile/di/components/ApplicationComponent.java
#	app/src/main/java/org/kiwix/kiwixmobile/di/modules/ApplicationModule.java
#	app/src/main/java/org/kiwix/kiwixmobile/di/modules/NetworkModule.java
#	app/src/main/java/org/kiwix/kiwixmobile/downloader/ChunkUtils.java
#	app/src/main/java/org/kiwix/kiwixmobile/downloader/DownloadFragment.java
#	app/src/main/java/org/kiwix/kiwixmobile/downloader/DownloadService.java
#	app/src/main/java/org/kiwix/kiwixmobile/downloader/model/DownloadModel.kt
#	app/src/main/java/org/kiwix/kiwixmobile/downloader/model/DownloadRequest.kt
#	app/src/main/java/org/kiwix/kiwixmobile/error/ErrorActivity.java
#	app/src/main/java/org/kiwix/kiwixmobile/library/LibraryAdapter.java
#	app/src/main/java/org/kiwix/kiwixmobile/library/entity/LibraryNetworkEntity.java
#	app/src/main/java/org/kiwix/kiwixmobile/main/MainActivity.java
#	app/src/main/java/org/kiwix/kiwixmobile/settings/KiwixSettingsActivity.java
#	app/src/main/java/org/kiwix/kiwixmobile/utils/DialogShower.kt
#	app/src/main/java/org/kiwix/kiwixmobile/utils/LanguageUtils.java
#	app/src/main/java/org/kiwix/kiwixmobile/utils/SharedPreferenceUtil.java
#	app/src/main/java/org/kiwix/kiwixmobile/utils/files/FileSearch.java
#	app/src/main/java/org/kiwix/kiwixmobile/zim_manager/SectionsPagerAdapter.java
#	app/src/main/java/org/kiwix/kiwixmobile/zim_manager/ZimManageActivity.java
#	app/src/main/java/org/kiwix/kiwixmobile/zim_manager/ZimManagePresenter.java
#	app/src/main/java/org/kiwix/kiwixmobile/zim_manager/fileselect_view/ZimFileSelectFragment.java
#	app/src/main/java/org/kiwix/kiwixmobile/zim_manager/library_view/LibraryFragment.java
#	app/src/main/java/org/kiwix/kiwixmobile/zim_manager/library_view/LibraryPresenter.java
#	app/src/main/res/layout/activity_library.xml
#	app/src/main/res/layout/download_item.xml
#	app/src/main/res/layout/download_management.xml
#	app/src/main/res/layout/language_selection.xml
#	app/src/main/res/layout/library_item.xml
#	app/src/main/res/layout/zim_list.xml
#	app/src/main/res/layout/zim_manager.xml
#	app/src/main/res/values/dimens.xml
#	app/src/main/res/values/strings.xml
#	build.gradle
#	gradle/wrapper/gradle-wrapper.properties
2019-06-05 11:45:16 +01:00
soloturn
a43e631de0 switching from apply plugin to pluins {}
following this migration guide:
https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/
2019-06-01 17:37:09 +01:00
soloturn
a0977ce446 replace ' with " in build.gradle
prepare migration to build.gradle.kts, following:
https://guides.gradle.org/migrating-build-logic-from-groovy-to-kotlin/
2019-06-01 17:37:09 +01:00
soloturn
959670468f remove androidstudio warnings from app/build.gradle 2019-06-01 17:37:09 +01:00
soloturn
4e572fb8d6 update android tools to 3.4.1 2019-06-01 17:37:09 +01:00
soloturn
1b866d6903 proguard, D8: Type 'sun.misc.Unsafe' was not found 2019-06-01 17:37:09 +01:00
soloturn
2b7d12ce14 update gradlew distribution url to gradle-5.4.1 2019-06-01 17:37:09 +01:00
Sean Mac Gillicuddy
82ce6d14da #1175 update listing from changelog 2019-05-30 13:49:18 +01:00
Sean Mac Gillicuddy
6eef46a929 #1175 fix coverage for junit5 tests 2019-05-30 13:31:18 +01:00
macgills
afb933ac6a
Merge branch 'macgills/2.5-kotlin' into macgills/2.5-coverage 2019-05-30 12:41:21 +01:00
Sean Mac Gillicuddy
f95b4ea975 #1175 move play publishing to deploy phase 2019-05-30 12:23:23 +01:00
Sean Mac Gillicuddy
76cd88b60d #1175 add automatic deployment of draft releases to github 2019-05-30 12:00:27 +01:00
Sean Mac Gillicuddy
19c43f544f #1175 rename release notes so they update on alpha 2019-05-30 10:20:26 +01:00
Sean Mac Gillicuddy
e46a71a647 #1175 move play listing to flavor sourceset, correct publishing task for enabled gradle play publisher and move to onSuccess 2019-05-30 10:00:46 +01:00
macgills
fac411fe6f
Merge pull request #1182 from kiwix/macgills/#1174-introduce-unit-testing
Macgills/#1174 introduce unit testing
2019-05-30 09:05:35 +01:00
Sean Mac Gillicuddy
4a0d7c3695 #1175 revert leakcanary resolution - add in commented out code for emulator on travis - add dummy files to allow local builds of release 2019-05-29 16:08:57 +01:00
Sean Mac Gillicuddy
9ce9558772 #1175 remove encrypted varaibles, instead rely on repository settings on travis 2019-05-29 14:12:56 +01:00
Sean Mac Gillicuddy
7df9687171 #1175 add new encrypted variables 2019-05-29 13:39:21 +01:00
Sean Mac Gillicuddy
0d47467911 #1175 reformat travis file 2019-05-29 12:41:09 +01:00
macgills
4887ec435d #1175 update encrypted files 2019-05-29 12:27:03 +01:00
Sean Mac Gillicuddy
2f5b3dd1f7 #1174 fix auto formatting of travis.yml 2019-05-29 10:39:30 +01:00
Sean Mac Gillicuddy
612e43e2bd #1174 remove extraneous line 2019-05-29 10:20:12 +01:00