1
0
mirror of https://github.com/nerzhul/ownCloud-SMS-App.git synced 2026-08-23 14:23:04 +00:00
Commit Graph

59 Commits

Author SHA1 Message Date
Loic Blot 47abfac7c3 Fix wrong Thread created Toast
This fixes #153
2017-09-12 08:03:06 +02:00
Loic Blot 3edd898d7d Full sync is now fixed
Full sync was previously not really good, Sms were ordered by date DESC, then the last date was good and when multiple loop iterations occurs, only 1 iteration happened
SmsBuffer now owns LastMessageDate instead of AndroidSmsFetcher
Full sync is now owned by AsyncsmsSync instead of MainActivity
Last message date is more accurate and less error prone
2017-09-11 21:56:34 +02:00
Loic Blot 5e6a1fc28e SmsBuffer is now working, replace json objects with the SmsBuffer on sync 2017-08-24 08:27:24 +02:00
Loic Blot 47c2923d0e Update tools versions & prepare JNI work to reduce memory & CPU usage 2017-08-24 08:27:24 +02:00
Loic Blot c125201c4b Code style fixes 2017-06-07 00:26:05 +02:00
Loic Blot 0eb1af2da8 BindObjectPref now takes resId and resolve setting directly 2017-06-07 00:00:43 +02:00
Loic Blot 1d45d0a318 Add an option to disable sync notification
Fix #150
2017-06-06 23:50:20 +02:00
Loïc Blot a5a03dbfcd More code cleanup 2017-05-22 14:10:36 +02:00
Loïc Blot c682d7fd0d Properly handle InvalidArgumentException when URI is not valid in HTTP connector
This fixes issue #149
2017-05-03 15:47:29 +02:00
Loic Blot afa0fc2fac Add a feature to reinitialize synchronization cursor 2017-03-23 20:43:32 +01:00
Andy Scherzinger f83eebe4dd Drawer, Toolbar and minor UI optimizations (#145)
* initial add of toolbar and hamburger menu to main activity
* toolbar added to preferences and accounts screens
* fixed original string (name)
* Layout fix for content
* initial add of toolbar and hamburger menu to main activity
* remove unnecessary padding bottom
* fix styling and paint login activity in blue
* toolbar added to preferences and accounts screens
* Layout fix for content
* remove unnecessary padding bottom
* fix styling and paint login activity in blue
* fixes after rebase
* consolidate style since minVersion=16, make drawer to be behind the systembar
* optimize drawer header
* add back navigation to login activity, fix spinner background
* add back navigation
* more launcher icon to mipmap folders
* fix identation
* fix license header
* revert code style deletion, change identation
* proper notification icon
* proper resolution for login logo
* fix large notification icon
* removed unused Eclair switch since support is v16+
* only use small notification icon
* spaces->tabs
* fix toolbar style for Android 4.x
2017-03-23 20:16:31 +01:00
Loïc Blot 82d1de3463 HTTPClient: send application name & version code in User Agent
Also ignore cookies like owncloud android lib & set http version to 1.1
2017-01-20 11:35:11 +01:00
Loic Blot 62ad5b1d34 Import some sources from legacy HTTP Client to permit using self signed certificates like before
It's not the perfect solution but this works

Rename HTTPRequestBuilder to OCHttpClient & make it child of HttpClient
2016-12-20 22:17:44 +01:00
Loic Blot 25e2d13409 Rewrite our HTTP Client to remove the owncloud library dependency and doing authentication ourselves
* Fixes issue #122
* Cleanup the code
* Drop owncloud library support, this will help the unofficial F-Droid build
2016-12-20 21:34:52 +01:00
Loic Blot 1bb93a5068 Verify connection when restoring messages 2016-12-08 22:14:29 +01:00
Loic Blot 9bb0a7d2f2 Add a label for progression, show it to user and fix sms restauration.
This is almost finished but needs some polish
2016-12-08 21:15:58 +01:00
Loic Blot 13ad6237fe Restore the default SMS app at the end 2016-12-08 01:18:28 +01:00
Loic Blot b13e98e2dc Feedback when restore is finished 2016-12-08 00:58:27 +01:00
Loic Blot 09ab64044d Now require Android 4.1 or greater. Also better feed back on restore messages for Android 4.3 or lesser versions 2016-12-08 00:33:41 +01:00
Loic Blot e06377d64b Permit to restore messages, but it's not finished yet
Remaining problems:
* date is not properly retrieved on the phone
* no feedback when connectivity errors
* no feedback when processing
* no feedback when finishing
2016-12-08 00:23:16 +01:00
Loic Blot 45d7352c32 Require Android 4.4 to restore messages 2016-12-07 08:41:31 +01:00
Loic Blot f05eabe94b Add a loop which retrieve all messages without doing anything 2016-12-07 00:13:10 +01:00
Loic Blot 80a91635dd RestoreMessagesActivity: find account to load
+ some fixes
2016-12-06 23:17:46 +01:00
Loic Blot 65c2b9b99f Rename SmsFetcher to AndroidSmsFetcher 2016-12-06 20:37:22 +01:00
Loic Blot 19e564213b Add binding preferences 2016-10-22 17:31:33 +02:00
Loic Blot 6f26634744 Update gradle version 2016-10-22 17:27:20 +02:00
Loic Blot a4f016f069 set logging to info not debug 2016-10-07 09:08:43 +02:00
Loic Blot c934f0deeb Sync now: add a toast to give feedback about nothing to sync
SmsSyncAdapter: make android studio happy

Drop .observers.SmsObserverService which is unused
2016-08-29 00:31:44 +02:00
Loic Blot 00000e84c6 Add some useful logging to permit better troubleshoot, and various fixes
* Properly close cursors for database
* Implement filtering for sender number size
* Remove systemd strings for chinese translation
2016-08-29 00:07:52 +02:00
Loic Blot 2acfb6655d Refactor a little bit LoginActitivy error handlers 2016-08-27 21:01:00 +02:00
Loic Blot 678fe0b720 Properly handle 404 NOT FOUND at account creation 2016-08-27 20:41:25 +02:00
Loic Blot 6203b8b989 Change a little bit account menu to show actions to do on an account & do some code cleanups 2016-07-21 23:34:27 +02:00
Loic Blot eb7786de0b Fix some project warnings 2016-04-30 01:20:42 +02:00
Loic Blot 6759409188 0.21.2: Android 6.0 permissions fixes 2016-04-08 08:55:18 +02:00
Loic Blot 7cf4bc8920 Release 0.21.0 2016-04-04 23:32:41 +02:00
Loic Blot 1cced8b2e4 Re-import nrzAndroidLib, this lib will be deprecated 2016-03-18 11:39:50 +01:00
Loic Blot 42e12a2081 Code cleanup & perf improvements by using members instead of object return 2016-03-18 11:13:43 +01:00
Loic Blot c49a098961 Rewrite application navigation to a better user experience 2016-03-07 21:25:36 +01:00
Loic Blot c8f37561cf Drop our notification manage & use native Android Studio providen and better class 2016-03-05 19:03:17 +01:00
Loic Blot af2f8d86e0 Redesign app with material design 2016-02-06 10:44:37 +01:00
Loic Blot bee1163c44 Implement some material design 2016-01-31 01:46:44 +01:00
Loic Blot b98758cff3 Add a more stylized button for creating account 2016-01-31 01:05:25 +01:00
Loic Blot 7e87253d5f Add build.gradle, as requested by #82 2016-01-18 07:04:45 +01:00
Loic Blot c132837aac Improve restore activity a little, not perfect but better 2015-11-23 23:28:17 +01:00
Loic Blot 3895b8cf0b Remote account interface improvements 2015-11-23 21:55:29 +01:00
Loic Blot 22f0790f2e Coding style + removal some class copy 2015-11-17 21:04:02 +01:00
Loic Blot ac239f1f71 Use foreach loops to improve a little bit performance.
This also permit to fix a bug on periodic sync fetches
2015-11-17 20:33:44 +01:00
Loic Blot c30e7173ae Drop the newly integer preferences, it doesn't work very well with the interface 2015-11-04 00:50:12 +01:00
Loic Blot 64b580bcd3 Fix an OS crash on negative synctime 2015-11-04 00:47:22 +01:00
Loic Blot c72a897f81 Refactor and fix a problem when changing preferences.
Prepare a new setting to send bulk messages with a message limit
2015-11-04 00:32:12 +01:00