Aditya-Sood
3bba631bc6
Refactor AddNoteDialog.java
...
ConfirmationAlert dialog now shows 'Cancel' as the neutral action button instead of the negative action button
2019-06-07 19:41:39 +05:30
Aditya-Sood
b1949b39d7
Documentaion & code clean-up: AddNoteDialog.java
2019-06-07 19:41:39 +05:30
Aditya-Sood
5f2716dcbf
Update NoteKeeper.txt
2019-06-07 19:41:39 +05:30
Aditya-Sood
02087b0986
Documentaion & code clean-up: MainActivity.java
2019-06-07 19:41:39 +05:30
Aditya-Sood
4c18fddcb9
Increment: Added support for Night Mode
2019-06-07 19:41:39 +05:30
Aditya-Sood
c5b94b5f22
Minor UI improvement
2019-06-07 19:41:39 +05:30
Aditya-Sood
17fb3c1aa0
Increment: Added functionality to share note files
...
The note text files (.txt) can now be shared using the share option on toolbar, via an app chooser
2019-06-07 19:41:39 +05:30
Aditya-Sood
e83b47d690
Bugfixes: Note save & confirmation dialogs
...
Fix in Previous commit: No confirmation dialog for saved notes
Current fix: Keep listening for state changes beyond first save
2019-06-07 19:41:39 +05:30
Aditya-Sood
f2b98845b6
Increment: Toolbar menu items (share, save) disabled for empty note files
2019-06-07 19:41:39 +05:30
Aditya-Sood
88dd739300
Update NoteKeeper.txt
2019-06-07 19:41:39 +05:30
Aditya-Sood
774802b6c8
Increment: Ask user confirmation before closing note dialog
...
For edited notes, ask user confirmation for discarding unsaved changes before closing the add note dialog (Unsaved changes are discarded)
2019-06-07 19:41:39 +05:30
Aditya-Sood
73d12f3f7e
Update NoteKeeper.txt
2019-06-07 19:41:39 +05:30
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