Sam Bosley
|
494a8ec371
|
Fixed a bug when creating urls
|
12 years ago |
Sam Bosley
|
1849dd755a
|
Fixed some bugs with creating signatures in ActFmInvoker
|
12 years ago |
Sam Bosley
|
15ac0f3d57
|
Compute signature for sync api requests correctly
|
12 years ago |
Sam Bosley
|
dc17cd2fc8
|
Killed more dead code
|
12 years ago |
Sam Bosley
|
cbaf9b34ac
|
ActFmDataService doesn't need to exist anymore
|
12 years ago |
Sam Bosley
|
0249e71ba5
|
Removed a bunch of dead code from ActFmSyncService
|
12 years ago |
Sam Bosley
|
7d33251a26
|
Implement timeForBackgroundSync(), fixed some synchronization bugs on sync thread, cleaned up a bunch of dead code from old sync service
|
12 years ago |
Sam Bosley
|
9f8937b922
|
Run CommentsFragment refresh callbacks on the ui thread
|
12 years ago |
Sam Bosley
|
b5562dd71b
|
Do a BriefMe for users as a part of general sync
|
12 years ago |
Sam Bosley
|
2e4a941530
|
Reimplemented friend connection tracking under new sync
|
12 years ago |
Sam Bosley
|
45f697fd1b
|
Send a number for history modified_after param
|
12 years ago |
Sam Bosley
|
ac6a3d2328
|
Synchronize comment/history fetch callbacks
|
12 years ago |
Sam Bosley
|
f43a318f1e
|
Sync history and comments in both comment fragments
|
12 years ago |
Sam Bosley
|
446436b2bb
|
Fetch task history in EditNoteActivity
|
12 years ago |
Sam Bosley
|
c1c1323b07
|
Add a tag data column for keeping track of history fetch times
|
12 years ago |
Sam Bosley
|
44bd887dfb
|
Use the same kind of union query for EditNoteActivity that we do for TaskCommentsFragment
|
12 years ago |
Sam Bosley
|
b4e6408de2
|
Join with the users table to display who made each history entry
|
12 years ago |
Sam Bosley
|
7833916490
|
Store task titles in history models, save users the history api tells us about
|
12 years ago |
Sam Bosley
|
e598320683
|
History uuid should be a string, for uniqueness sake
|
12 years ago |
Sam Bosley
|
73a2b5ac4f
|
Several changes to history model, bug fixes to FetchHistory, and placeholder display of history in UpdateAdapter to prove it works. It's pretty legit.
|
12 years ago |
Sam Bosley
|
52f1631049
|
Added an object to encapsulate fetching history
|
12 years ago |
Sam Bosley
|
336ec485b3
|
Apply correct user join and union with history table to task comments fragment
|
12 years ago |
Sam Bosley
|
009a6420cc
|
Added ability to do union queries, started refactoring UpdateAdapter to expect either UserActivity or History
|
12 years ago |
Sam Bosley
|
35a44428c5
|
Don't use a flag for indicating ongoing sync migration. Reading it from a preference fixes an issue where the sync thread could run before the migration had started
|
12 years ago |
Sam Bosley
|
7664049f7e
|
Don't allow sync callbacks to crash the sync thread
|
12 years ago |
Sam Bosley
|
5b200ec849
|
Use a map from messages to callbacks instead of two parallel queues. This should resolve some timing bugs--callbacks will only be called in the same loop that their message ocurrs
|
12 years ago |
Sam Bosley
|
1bb70597e2
|
Updated ip address
|
12 years ago |
Sam Bosley
|
89402d7782
|
Added History model properties to NameMaps
|
12 years ago |
Sam Bosley
|
f6e33e38dd
|
Fixed a bug when resolving uuid conflicts in make changes, refactored some JSON-to-model code into static helper methods for future use
|
12 years ago |
Sam Bosley
|
8c2c74b26b
|
Update GCMIntentService to use new sync messaging
|
12 years ago |
Sam Bosley
|
035019368c
|
Switch to newly created list after save
|
12 years ago |
Sam Bosley
|
8b78095821
|
timeForBackgroundSync() should have additional conditions besides just whether or not migration is ongoing
|
12 years ago |
Sam Bosley
|
4247b89ed0
|
Use a flag to indicate that sync migration is ongoing
|
12 years ago |
Sam Bosley
|
a4db2d0085
|
Don't signal migration success with a preference--find a better solution
|
12 years ago |
Sam Bosley
|
5713d37046
|
Don't allow sync thread to do anything if migration hasn't occurred yet
|
12 years ago |
Sam Bosley
|
11565ba9b9
|
Fixed bugs with sync migrator test
|
12 years ago |
Sam Bosley
|
4302475e95
|
Read user properties (including pictures) correctly from the activity/users join query. This fixes a lot of UpdateAdapter display bugs
|
12 years ago |
Sam Bosley
|
10b2ce40f6
|
Merge and resolve conflicts from upstream/master
|
12 years ago |
Sam Bosley
|
ea6335c17f
|
Revert "Added MD5 library for testing alternative implementation"
This reverts commit df5d9e25af .
|
12 years ago |
Sam Bosley
|
225ae663cd
|
Revert "Remove all references to DigestUtils, replace with references to new MD5 code"
This reverts commit d97d5e6e78 .
|
12 years ago |
Sam Bosley
|
ac0a1eda07
|
Fixed subtasks type parsing and conversion between local and remote trees. Should have the correct helpers now when we start syncing subtasks under sync v2
|
12 years ago |
Sam Bosley
|
95af2428ef
|
Handle UUID collisions in MakeChanges
|
12 years ago |
Sam Bosley
|
0cefd012cc
|
Try and decode bitmap from JSON when url not present for tag images and comment images
|
12 years ago |
Sam Bosley
|
16a411bdfa
|
Show people menu item when changes made to users table
|
12 years ago |
Sam Bosley
|
1b49988500
|
Added the autosync intervals back in--autosync (i.e. automatic BriefMe) for a particular model will happen no more than ever 30 minutes
|
12 years ago |
Sam Bosley
|
c1bbcdc766
|
Merge and resolve conflicts from upstream/master
|
12 years ago |
Sam Bosley
|
d97d5e6e78
|
Remove all references to DigestUtils, replace with references to new MD5 code
|
12 years ago |
Sam Bosley
|
df5d9e25af
|
Added MD5 library for testing alternative implementation
|
12 years ago |
Sam Bosley
|
5fecc800c9
|
PluginServices instance should be volatile for double checked locking
|
12 years ago |
Sam Bosley
|
d1ec539a15
|
Drop users with no uuid during migration
|
12 years ago |
Sam Bosley
|
1f5dc859a5
|
Cleaned up EditNoteActivity, refresh after sync
|
12 years ago |
Sam Bosley
|
846968cc2a
|
Removed some dead code
|
12 years ago |
Sam Bosley
|
5409912b0d
|
Wrote migration for task comments created offline. Other comments will be restored on sync
|
12 years ago |
Sam Bosley
|
74dd1b3075
|
Deprecated and removed some references to User.EMAIL
|
12 years ago |
Sam Bosley
|
b2daa373b0
|
ReloadData in PersonViewFragment
|
12 years ago |
Sam Bosley
|
7d6e025335
|
Send changes to PICTURE columns as actual JSON objects, not strings
|
12 years ago |
Sam Bosley
|
19a99e6603
|
Removed unused SuppressWarnings
|
12 years ago |
Sam Bosley
|
6947d411fd
|
Fixed typo preventing Debug messages
|
12 years ago |
Sam Bosley
|
17fdb0520e
|
Don't report changes for uneditable UserActivity columns
|
12 years ago |
Sam Bosley
|
3e1c722280
|
Several minor fixes to sync callbacks, ui fixes to TagViewFragment
|
12 years ago |
Sam Bosley
|
89709ab71f
|
Experimental scheme for passing callback functions with sync messages, to be run at the end of a loop
|
12 years ago |
Sam Bosley
|
29d10a6003
|
Renamed some arguments in NameMaps to make things a little more sensical
|
12 years ago |
Sam Bosley
|
4901e83765
|
Removed references to pushed_at columns in NameMaps
|
12 years ago |
Sam Bosley
|
9e64858c8f
|
Never write pushed_at value in MakeChanges
|
12 years ago |
Sam Bosley
|
1e9839b4b6
|
Implement NowBriefed message
|
12 years ago |
Sam Bosley
|
0f4b94011b
|
Fixed some queries to use deletion_date correctly, enqueue changes happened when tags or members added to metadata tables
|
12 years ago |
Sam Bosley
|
f010730549
|
Fixed several minor errors creating/processing tag member links
|
12 years ago |
Sam Bosley
|
4588748ada
|
Implemented synchronizing tag member metadata, minor fixes to ChangesHappened
|
12 years ago |
Sam Bosley
|
cb21c10b1d
|
Implemented UserData message, send created_at for each change
|
12 years ago |
Sam Bosley
|
4a03d185e5
|
Removed Task.USER_EMAIL column--just send emails in the user_id column
|
12 years ago |
Sam Bosley
|
9853d90948
|
Added ability to upload pictures with comments and tags
|
12 years ago |
Sam Bosley
|
dd957f773c
|
Fixed a typo in NameMaps
|
12 years ago |
Sam Bosley
|
ddd029fc32
|
Fixed errors joining with users table for images
|
12 years ago |
Sam Bosley
|
0ff8772a94
|
Fixed some typos
|
12 years ago |
Sam Bosley
|
719380253a
|
Wire up user activity messages to the sync thread
|
12 years ago |
Sam Bosley
|
e9f8d1f4f8
|
Code cleanup, fixes to displaying user name in comments
|
12 years ago |
Sam Bosley
|
8125d79f71
|
First pass at reimplementation of UpdateAdapter
|
12 years ago |
Sam Bosley
|
cc0fcf95ef
|
Removed several more references to Update model
|
12 years ago |
Sam Bosley
|
bf6af525a6
|
Removed several references to Update model
|
12 years ago |
Sam Bosley
|
d2e9b1407b
|
Introduced a new UserActivity table to replace the old Update table. It will be easier to just migrate and deprecate the Update table
|
12 years ago |
Sam Bosley
|
0857e89818
|
Record outstanding entries for unsynced models in the migration
|
12 years ago |
Sam Bosley
|
9079309539
|
Try reusing old remoteId property as the new uuid property by recasting it as a string
|
12 years ago |
Sam Bosley
|
f9d595b3e7
|
Show list members by email in tag view fragment
|
12 years ago |
Sam Bosley
|
baa05dfb46
|
Removed several references to TagData.MEMBERS in TagSettingsActivity. Still need to figure out how to detect member added/removed
|
12 years ago |
Sam Bosley
|
db1610970e
|
Remove reference to TagData.MEMBERS in CalendarAlarmListCreator and ReminderDialog
|
12 years ago |
Sam Bosley
|
b4977f5064
|
Infrastructure for recording outstanding entries for tag member added/removed
|
12 years ago |
Sam Bosley
|
b1d255c8d7
|
Construct members gallery using users join query
|
12 years ago |
Sam Bosley
|
1dd8346954
|
Added TagData.PICTURE to name mappings
|
12 years ago |
Sam Bosley
|
360f75df7d
|
Updated several references to picture properties to read from picture jsons
|
12 years ago |
Sam Bosley
|
c88d8f455b
|
Fixed several bugs with assigning tasks
|
12 years ago |
Sam Bosley
|
b8476ca5b8
|
Cleaned up final references to Task.USER
|
12 years ago |
Sam Bosley
|
6b458a501b
|
Implemented create and delete member links for sync
|
12 years ago |
Sam Bosley
|
26e6e13b16
|
Infrastructure for adding/removing members to tags during sync
|
12 years ago |
Sam Bosley
|
f3cced5d02
|
Added a tag metadata table for things like tag to user join table
|
12 years ago |
Sam Bosley
|
b1d32f61b4
|
Temporary restoration of reading tag data members as JSON in EditPeopleControlSet
|
12 years ago |
Sam Bosley
|
16abc83b12
|
Removed or fixed most references to Task.USER
|
12 years ago |
Sam Bosley
|
8c8300524e
|
Fixed EditPeopleControlSet compilation errors (may not actually be working)
|
12 years ago |
Sam Bosley
|
2127f81faf
|
Fixed most other compilation errors related to user_id
|
12 years ago |
Sam Bosley
|
c7d7167763
|
Fixed several references to non-string userids
|
12 years ago |
Sam Bosley
|
51bf8445e6
|
Deprecated the user json properties, clear some of them on sync
|
12 years ago |
Sam Bosley
|
b1ae98aec4
|
Removed all references to Task.SHARED_WITH
|
12 years ago |
Sam Bosley
|
086b4c9f29
|
Load task actions on main thread, don't read notes into cursor
|
12 years ago |
Sam Bosley
|
53698cdb02
|
Added task classification column
|
12 years ago |
Sam Bosley
|
55a27edd91
|
Fixed rrule parsing issues
|
12 years ago |
Sam Bosley
|
a8d4df79f3
|
Moved the new sync migrator into a more sensical package
|
12 years ago |
Sam Bosley
|
0a049e2bb6
|
Refactored ReplayOutstandingEntries to reference ActFmSyncThread for queueing
|
12 years ago |
Sam Bosley
|
5de62890a6
|
Removed stray references to Task.FLAGS, which should not currently be necessary
|
12 years ago |
Sam Bosley
|
e30b71d416
|
Deprecated the repeat after completion flag
|
12 years ago |
Sam Bosley
|
b707c33742
|
Minor update to TagData name maps
|
12 years ago |
Sam Bosley
|
f6a4dc1376
|
Don't need TagMetadata.pushed_at
|
12 years ago |
Sam Bosley
|
6bd6b82bac
|
Refactored SyncDatabaseListener to use ActFmSyncThread.enqueueMessage
|
12 years ago |
Sam Bosley
|
508f533e6d
|
Instantiate ChangesHappened from outstanding tables anytime the sync thread is (re)started
|
12 years ago |
Sam Bosley
|
2683e0b188
|
Log unparseable dates
|
12 years ago |
Sam Bosley
|
ca591d73e4
|
ReplayOutstandingEntries should add a ChangesHappened message to the queue if no errors occurred
|
12 years ago |
Sam Bosley
|
1f7a937a98
|
Fixed some issues with tag_removed
|
12 years ago |
Sam Bosley
|
987c34811e
|
Added flag for suppressing outstanding entries when syncing tags
|
12 years ago |
Sam Bosley
|
3b3e490823
|
First attempt at making tag_removed work
|
12 years ago |
Sam Bosley
|
3b8c27af31
|
Update individual rows one by one when deleting tag links. Temporary solution so that recording outstanding entries for tag_removed will work
|
12 years ago |
Sam Bosley
|
97067cb824
|
Don't create unecessary changeshappened messages
|
12 years ago |
Sam Bosley
|
fa87caffc8
|
Fixed bug/ANR when adding tags
|
12 years ago |
Sam Bosley
|
3b39ae6238
|
Don't try to sync an empty payload
|
12 years ago |
Sam Bosley
|
1529ba56b3
|
Added equality checking to ChangesHappened
|
12 years ago |
Sam Bosley
|
7879d517b0
|
Refactored some client to server logic so that ChangesHappened doesn't have to do a bunch of expensive stuff on instantiation
|
12 years ago |
Sam Bosley
|
a2e897083e
|
Fixed issues with writing tag_added or tag_removed to json in ChangesHappened
|
12 years ago |
Sam Bosley
|
4456dfc143
|
Suppress outstanding entries when creating new tag links during sync
|
12 years ago |
Sam Bosley
|
96b29c30bc
|
Record task outstanding entries when tag added or removed
|
12 years ago |
Sam Bosley
|
a1007f2440
|
Added a convenience method for getting uuid from RemoteModels
|
12 years ago |
Sam Bosley
|
d7d90cb72e
|
No more UserData messages, just normal MakeChanges for the users table instead
|
12 years ago |
Sam Bosley
|
74f451bffd
|
Improvements and fixes to synchronizing tag metadata and deleting links
|
12 years ago |
Sam Bosley
|
f57975b0d8
|
DatabaseDao.updateMultiple is redundant with DatabaseDao.update
|
12 years ago |
Sam Bosley
|
a8ac2dccde
|
Fetch local id if necessary when tag_added in make changes
|
12 years ago |
Sam Bosley
|
c6957b33e8
|
Refactored NameMaps to be a bit cleaner
|
12 years ago |
Sam Bosley
|
b6f3b0f279
|
Fixed a bug where the sync migration test would only work the first time
|
12 years ago |
Sam Bosley
|
03f1ce1dc0
|
More resource caching for images used as defaults for asyncimageviews
|
12 years ago |
Sam Bosley
|
27c964c4cc
|
Cache images in TaskAdapter instead of using setImageResource
|
12 years ago |
Sam Bosley
|
b614a5af3c
|
Minor performance improvements to DateUtilities, TaskAction
|
12 years ago |
Sam Bosley
|
26c0d1320f
|
Fixes to make changes throwing NPE when no values set
|
12 years ago |
Sam Bosley
|
a752747f0a
|
Added tag name change after save hook
|
12 years ago |
Sam Bosley
|
538b38ef37
|
Support tag added and tag removed in make changes
|
12 years ago |
Sam Bosley
|
d0fd66cdd0
|
Refactored some things in TagService to use UUIDs
|
12 years ago |
Sam Bosley
|
4ad09ff6ee
|
Implement tags_removed in MakeChanges
|
12 years ago |
Sam Bosley
|
52f1dcdb56
|
Added a deleteLinks method for deleting multiple task to tag links
|
12 years ago |
Sam Bosley
|
eb323ce27f
|
Added a deleteLink method for tasks to tags
|
12 years ago |
Sam Bosley
|
e33b6663df
|
Improvements to createLink helper methods
|
12 years ago |
Sam Bosley
|
3fb32ab7ea
|
Record creation dates after all
|
12 years ago |
Sam Bosley
|
c70c83f988
|
Don't show tags with null titles, fixed pushed_at dates for tables
|
12 years ago |
Sam Bosley
|
36861c0f3c
|
Sync logging flag
|
12 years ago |
Sam Bosley
|
fcd8fe4db4
|
Read server time for writing pushed_at values, send client time when syncing
|
12 years ago |
Sam Bosley
|
e8b25e8fdd
|
Better JSONObject logging, fixed bug with pushed_at values when 0
|
12 years ago |
Sam Bosley
|
f42d3a2b5f
|
Introduce a property flag to indicate if an integer represents a boolean, use it to use the correct types when communicating flags to/from server
|
12 years ago |
Sam Bosley
|
1fd38dc245
|
Migration to separate columns for task flags
|
12 years ago |
Sam Bosley
|
cd813a41de
|
Send pushed_at times as ISO dates
|
12 years ago |
Sam Bosley
|
f9232b7bf4
|
Look for a pushed_at value in server message batches
|
12 years ago |
Sam Bosley
|
d3488416d0
|
Fixes to date parsing and reading of null fields
|
12 years ago |
Sam Bosley
|
b17bd9f027
|
Report task due times correctly in ChangesHappened
|
12 years ago |
Sam Bosley
|
afe15a91c0
|
Correctly format dates in changeshappened
|
12 years ago |
Sam Bosley
|
e2835c834e
|
More updates to name maps for tags
|
12 years ago |
Sam Bosley
|
9fe1032896
|
Added some properties to name maps
|
12 years ago |
Sam Bosley
|
fd0e5c5304
|
Merge and resolve conflicts from upstream/master
|
12 years ago |
Sam Bosley
|
e29f9a12ef
|
More copy update
|
12 years ago |
Sam Bosley
|
d04c37e2de
|
Many polish improvements
|
12 years ago |
Sam Bosley
|
978a76218c
|
Fixes to parsing of due times
|
12 years ago |
Sam Bosley
|
4fc58c8bb7
|
Fixed a minor bug in NameMaps initialization
|
12 years ago |
Sam Bosley
|
ac1fb8fc2f
|
Implement UserData message
|
12 years ago |
Sam Bosley
|
e7613f0961
|
First pass at parsing ISO dates
|
12 years ago |
Sam Bosley
|
35b4313911
|
Catch exceptions when getting google accounts
|
12 years ago |
Sam Bosley
|
0e33c93a5d
|
Fixed a bug with title only mode in Google lists
|
12 years ago |
Sam Bosley
|
3a25865205
|
Started making some changes to how dates are handled in new sync
|
12 years ago |
Sam Bosley
|
d50490ebfe
|
Improvements to make changes, first draft at scheme for non-column changes (like has_due_time)
|
12 years ago |
Sam Bosley
|
aa29b74554
|
When filtering list by assigned, order and indent should be ignored
|
12 years ago |
Sam Bosley
|
c5e785b902
|
Fixed a bug where unassigning a task could issue a weird prompt about adding nobody to the list
|
12 years ago |
Sam Bosley
|
e9e5a27be6
|
Don't fetch comments for featured lists
|
12 years ago |
Sam Bosley
|
a3866b2270
|
Enhancements to Property class to support multiple flags (like nullable, isDate, etc)
|
12 years ago |
Sam Bosley
|
2c147d178f
|
Don't enqueue empty changeshappened messages, small fix to makechanges
|
12 years ago |
Sam Bosley
|
01b3035cf2
|
Fixes to MakeChanges
|
12 years ago |
Sam Bosley
|
7b284bbfe7
|
Fake proof texts while we work out a new scheme; fix bug with sending user ids
|
12 years ago |
Sam Bosley
|
1bbab5eb69
|
ChangesHappened should use real user ids instead of 0
|
12 years ago |
Sam Bosley
|
e8dedefc7c
|
Don't get stuck in sync thread loop when not logged in--wastes memory
|
12 years ago |
Sam Bosley
|
c1f1681bc0
|
Simplified UUID generation, no more proof text
|
12 years ago |
Sam Bosley
|
f8a40cfbfd
|
Merge and resolve conflicts from upstream/master
|
12 years ago |
Sam Bosley
|
cc2824726f
|
Optimized query with fewer properties when in title only mode
|
12 years ago |
Sam Bosley
|
6d5a25170c
|
Lots of refactoring to support more than two task row styles in preparation for a 'titles only' style
|
12 years ago |
Sam Bosley
|
2e14941b17
|
Hopefully fixed a null pointer exception that would be thrown by the system
|
12 years ago |
Sam Bosley
|
81eaac69d8
|
If no tag exists, return empty list ordering
|
12 years ago |
Sam Bosley
|
5e873a983f
|
Fixed a filter list color issue
|
12 years ago |
Sam Bosley
|
ecbce2bc51
|
Start integrating new sync code to do actual work
|
12 years ago |
Sam Bosley
|
5ae0e866b9
|
Revert part of 5d0fcf0 -- user objects may not always have a uuid. Deal with this later
|
12 years ago |
Sam Bosley
|
1a740d32ab
|
Start using new sync thread for getting changes for tag and user lists
|
12 years ago |
Sam Bosley
|
5d0fcf0dd2
|
Make sure user objects have a uuid column, include it in the migration
|
12 years ago |
Sam Bosley
|
32f979c020
|
Implement pushed_at for tasks and tag tables
|
12 years ago |
Sam Bosley
|
58bd972029
|
Refactor name for clarity
|
12 years ago |
Sam Bosley
|
78b607aba9
|
Merge and resolve conflicts from upstream/master
|
12 years ago |
Sam Bosley
|
f2d1fa7dcf
|
Move everything into GCMIntentService and kill C2DMReceiver
|
12 years ago |
Sam Bosley
|
bb877b57e8
|
Use real style GCM sender id, remove C2DM receiver from the manifest
|
12 years ago |
Sam Bosley
|
5a2b65d515
|
Minor params update
|
12 years ago |
Sam Bosley
|
74019d7cb1
|
Started refactoring to use GCM instead of C2DM
|
12 years ago |
Sam Bosley
|
2950307dc8
|
Fixed a crash with the simple login page
|
12 years ago |
Sam Bosley
|
b6bf3c7477
|
Finalize login A/B tests, added preference for social reminders
|
12 years ago |
Sam Bosley
|
ad8b20f48a
|
Hide in app billing for astrid lite--it's not set up yet
|
12 years ago |
Sam Bosley
|
1d3ae49dbe
|
Back button as save in tag settings
|
12 years ago |