Commit Graph

2158 Commits (312104dead0e39b43b58e796f1d56f7151a6bc6e)

Author SHA1 Message Date
Sam Bosley 6dded6fb06 In subtasks mode, new tasks should be added at the top of the list like on the web 13 years ago
Sam Bosley 7a655f04bb All TLM entries created on migration should be synced, since we will need to get real UUIDs for them and/or create them at some point 13 years ago
Sam Bosley 8baa2ce54a Fix for setting the correct assigned index in EditPeopleControlSet 13 years ago
Sam Bosley 20c94fe178 Fixed several places where missing properties needed to be read or were the wrong type 13 years ago
Sam Bosley ed6d4fc852 Merge remote-tracking branch 'upstream/master' into 130122_sb_new_sync 13 years ago
Sam Bosley 78869c93d9 Back button should save tag changes instead of canceling 13 years ago
Sam Bosley cca5ecfe0f Fixed a bug affecting display of manual order in widgets 13 years ago
Sam Bosley 4a510f858f Fixed an equality check in EditPeopleControlSet, removed dead code 13 years ago
Sam Bosley a2fe083f0f Deprecated tag ordering property, fixed references to it in widgets to look for TLM instead 13 years ago
Sam Bosley 76c509d932 Stupid typo causing all my problems 13 years ago
Sam Bosley 23232c50e6 Add a few places where google tasks needs the astrid uuid to save 13 years ago
Sam Bosley 47b8fa96b4 First draft at what a Gtasks import might look like 13 years ago
Sam Bosley 6524d1b0a0 Moved SyncMetadataService to the main astrid project to remove more references to the api daos 13 years ago
Sam Bosley 976d1d3a78 Removed several references in the astrid project to the ApiDaos 13 years ago
Sam Bosley a9e310a6ad Fixed a minor bug where wrong property was being used for task comments pushed at value 13 years ago
Sam Bosley ddc9622ffe Implemented finer grained queries now supported by new sync api 13 years ago
Sam Bosley 00f9747e8d Slightly improved logging for sync 13 years ago
Sam Bosley d1b0b66de7 Merge remote-tracking branch 'upstream/master' into 130122_sb_new_sync 13 years ago
Sam Bosley 96594f07e1 Fixed a bug introduced in dd6a3fa where people and featured list adapters wouldn't be populated 13 years ago
Sam Bosley cf9740ecf2 Better crash suppression with swipe between on 13 years ago
Sam Bosley 37f78785d3 Don't want to always repopulate the queue from the outstanding tables, but allow other parts of the app to explicitly ask for it 13 years ago
Sam Bosley aa7efd7d0b Fixed a bug where subtasks data wouldn't be loaded correctly in tag views 13 years ago
Sam Bosley c247a5aedc Fixed a bug when fetching history for tasks 13 years ago
Sam Bosley 392d12542f Don't need to refresh tag data after history fetch 13 years ago
Sam Bosley 92fd2436cf Killed a bunch of dead code 13 years ago
Sam Bosley 0e42f0c61f Tombstone tag metadata when list deleted during sync 13 years ago
Sam Bosley 336f01889c Should always try and repopulate the sync queue from the outstanding tables on each loop (to pickup changes made offline) 13 years ago
Sam Bosley e69a6b8825 Suppress a crash that can occur with swipe between lists turned on 13 years ago
Sam Bosley 39216200cc Improved default refresh in sync loop logic 13 years ago
Sam Bosley c1579a5208 Fixed tag list ordering to ignore case 13 years ago
Sam Bosley adcf8cce74 Implemented delayed pushing for task list ordering 13 years ago
Sam Bosley d044095d02 Added ability to specify save match criterion beyond just matching on uuid in MakeChanges 13 years ago
Sam Bosley a2f4a24ac0 Added BriefMe for task list metadata, bump default batch size 13 years ago
Sam Bosley c4ac71c743 Be more resilient when handling empty task list order 13 years ago
Sam Bosley 4665c21f73 Update read-only task list metadata properties 13 years ago
Sam Bosley a2e95b06fa Only enqueue changes to list order on user input, not validation 13 years ago
Sam Bosley 1be7b9e449 Some changes to make it easier to control which properties should have outstanding entries recorded 13 years ago
Sam Bosley b148966d7c Started working on making sync of manual ordering work 13 years ago
Sam Bosley 428e021327 Fixed a bug where subtasks data could become corrupt after migration 13 years ago
Sam Bosley ae058ac5c3 Only write task list order if migration has occurred 13 years ago
Sam Bosley c848dd6dae Use update when writing filter order metadata in migration 13 years ago
Sam Bosley 4b3220c5a7 Fixed a couple more places where subtasks were using Task.ID instead of UUID 13 years ago
Sam Bosley ef2bc10379 Fixed several type errors in subtasks code 13 years ago
Sam Bosley 841c5b178f Convert subtasks to use uuids instead of ids 13 years ago
Sam Bosley af33bf37c2 Removed dead code from ActFmSyncService 13 years ago
Sam Bosley 4b399670f3 Sync tag ordering after migration if necessary 13 years ago
Sam Bosley 7707c3640b First pass at migrating to task list metadata 13 years ago
Sam Bosley c7e0b81dd7 Some fixes to handling of task list metadata 13 years ago
Sam Bosley 8717d6c8b7 Removed several references to tag_ordering and replaced with tasklistmetadata 13 years ago
Sam Bosley fa3bbf3445 Boilerplate for TaskListMetadata 13 years ago
Sam Bosley 3201ba3726 Fixed a bug where sometimes tag_added outstanding entries wouldn't be added during migration 13 years ago
Sam Bosley 4f3a9458c8 Clear models when reading from cursor in migration 13 years ago
Sam Bosley 8be30f9cec Extra case in migration for no uuid existing 13 years ago
Sam Bosley 31465834d5 Enqueue tag_added/removed outstanding entries for tasks that need sync during migration 13 years ago
Sam Bosley 304fc1eb1a Fixed some issues with the files quick action 13 years ago
Sam Bosley 5bfd9f7b61 Undo all changes to Update class; it's been deprecated and needs to be the same as it used to be for legacy reasons 13 years ago
Sam Bosley 701bd6f79b Fixed a type issue in tag last synced dates 13 years ago
Sam Bosley fdb6ddc62f Fixed several bugs that were throwing exceptions in attachments migration 13 years ago
Sam Bosley 0e898a2607 Started working on a way to record tag_added outstanding entries for tasks that need it in the migration 13 years ago
Sam Bosley 510ade7311 Look at last sync date when deciding when to record tag outstanding entries during migration 13 years ago
Sam Bosley 7ff1890285 Look at last sync date when deciding when to record task outstanding entries during migration 13 years ago
Sam Bosley 416d6076de Deprecated emergent tags, delete them from the database on migration 13 years ago
Sam Bosley 37551dfc06 Probably don't want to throw an exeption in the DoubleCheck constructor. It'll never get called, but it would be sad if the server started sending things that crashed old clients 13 years ago
Sam Bosley 551df209cb Merge remote-tracking branch 'upstream/master' into 130122_sb_new_sync 13 years ago
Sam Bosley ab2057b0e6 Updated ip address of localhost 13 years ago
Sam Bosley 1ac305433c Fixed a bug and unit tests with subtasks serialization 13 years ago
Sam Bosley 4bde104157 Make sure google auth token is valid before using it 13 years ago
Sam Bosley ee0b5ddae4 Merge remote-tracking branch 'origin/130208_sb_task_attachments' into 130122_sb_new_sync 13 years ago
Sam Bosley b995f6dbbe Fixed file uploading (use JSON instead of string), make sure that EditNoteActivity has Task.PUSHED_AT 13 years ago
Sam Bosley ad7a2296a2 New tags in TagSettingsActivity need a uuid for default images 13 years ago
Sam Bosley 6bc7fedfe6 Use uuid for default tag images instead of titles 13 years ago
Sam Bosley 49507146c5 Fixed several bugs/missing pieces that were preventing task attachments from syncing 13 years ago
Sam Bosley dd96750138 Record file attachment outstanding entries and report them using special ChangesHappened logic 13 years ago
Sam Bosley 3e953d34df Wrote a migration from FileMetadata to TaskAttachment 13 years ago
Sam Bosley bce73a1d1d Deprecated and removed unecessary fields from FileMetadata 13 years ago
Sam Bosley 2f98b8d308 Removed and updated all references to FileMetadata to use new TaskAttachment 13 years ago
Sam Bosley f3d7b1958c Added all the boilerplate for task attachments--outstanding daos, integration with messages, etc. 13 years ago
Sam Bosley 71a14e78fd Only enqueue changes happened messages if actual outstanding entries were recording. This could fix a bug where the queue would get filled up with pointless messages 13 years ago
Sam Bosley 494a8ec371 Fixed a bug when creating urls 13 years ago
Sam Bosley 1849dd755a Fixed some bugs with creating signatures in ActFmInvoker 13 years ago
Sam Bosley 15ac0f3d57 Compute signature for sync api requests correctly 13 years ago
Sam Bosley dc17cd2fc8 Killed more dead code 13 years ago
Sam Bosley cbaf9b34ac ActFmDataService doesn't need to exist anymore 13 years ago
Sam Bosley 0249e71ba5 Removed a bunch of dead code from ActFmSyncService 13 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 13 years ago
Sam Bosley 9f8937b922 Run CommentsFragment refresh callbacks on the ui thread 13 years ago
Sam Bosley b5562dd71b Do a BriefMe for users as a part of general sync 13 years ago
Sam Bosley 2e4a941530 Reimplemented friend connection tracking under new sync 13 years ago
Sam Bosley 45f697fd1b Send a number for history modified_after param 13 years ago
Sam Bosley ac6a3d2328 Synchronize comment/history fetch callbacks 13 years ago
Sam Bosley f43a318f1e Sync history and comments in both comment fragments 13 years ago
Sam Bosley 446436b2bb Fetch task history in EditNoteActivity 13 years ago
Sam Bosley c1c1323b07 Add a tag data column for keeping track of history fetch times 13 years ago
Sam Bosley 44bd887dfb Use the same kind of union query for EditNoteActivity that we do for TaskCommentsFragment 13 years ago
Sam Bosley b4e6408de2 Join with the users table to display who made each history entry 13 years ago
Sam Bosley 7833916490 Store task titles in history models, save users the history api tells us about 13 years ago
Sam Bosley e598320683 History uuid should be a string, for uniqueness sake 13 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. 13 years ago
Sam Bosley 52f1631049 Added an object to encapsulate fetching history 13 years ago
Sam Bosley 336ec485b3 Apply correct user join and union with history table to task comments fragment 13 years ago
Sam Bosley 009a6420cc Added ability to do union queries, started refactoring UpdateAdapter to expect either UserActivity or History 13 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 13 years ago
Sam Bosley 7664049f7e Don't allow sync callbacks to crash the sync thread 13 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 13 years ago
Sam Bosley 1bb70597e2 Updated ip address 13 years ago
Sam Bosley 89402d7782 Added History model properties to NameMaps 13 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 13 years ago
Sam Bosley 8c2c74b26b Update GCMIntentService to use new sync messaging 13 years ago
Sam Bosley 035019368c Switch to newly created list after save 13 years ago
Sam Bosley 8b78095821 timeForBackgroundSync() should have additional conditions besides just whether or not migration is ongoing 13 years ago
Sam Bosley 4247b89ed0 Use a flag to indicate that sync migration is ongoing 13 years ago
Sam Bosley a4db2d0085 Don't signal migration success with a preference--find a better solution 13 years ago
Sam Bosley 5713d37046 Don't allow sync thread to do anything if migration hasn't occurred yet 13 years ago
Sam Bosley 11565ba9b9 Fixed bugs with sync migrator test 13 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 13 years ago
Sam Bosley 10b2ce40f6 Merge and resolve conflicts from upstream/master 13 years ago
Sam Bosley ea6335c17f Revert "Added MD5 library for testing alternative implementation"
This reverts commit df5d9e25af.
13 years ago
Sam Bosley 225ae663cd Revert "Remove all references to DigestUtils, replace with references to new MD5 code"
This reverts commit d97d5e6e78.
13 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 13 years ago
Sam Bosley 95af2428ef Handle UUID collisions in MakeChanges 13 years ago
Sam Bosley 0cefd012cc Try and decode bitmap from JSON when url not present for tag images and comment images 13 years ago
Sam Bosley 16a411bdfa Show people menu item when changes made to users table 13 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 13 years ago
Sam Bosley c1bbcdc766 Merge and resolve conflicts from upstream/master 13 years ago
Sam Bosley d97d5e6e78 Remove all references to DigestUtils, replace with references to new MD5 code 13 years ago
Sam Bosley df5d9e25af Added MD5 library for testing alternative implementation 13 years ago
Sam Bosley 5fecc800c9 PluginServices instance should be volatile for double checked locking 13 years ago
Sam Bosley d1ec539a15 Drop users with no uuid during migration 13 years ago
Sam Bosley 1f5dc859a5 Cleaned up EditNoteActivity, refresh after sync 13 years ago
Sam Bosley 846968cc2a Removed some dead code 13 years ago
Sam Bosley 5409912b0d Wrote migration for task comments created offline. Other comments will be restored on sync 13 years ago
Sam Bosley 74dd1b3075 Deprecated and removed some references to User.EMAIL 13 years ago
Sam Bosley b2daa373b0 ReloadData in PersonViewFragment 13 years ago
Sam Bosley 7d6e025335 Send changes to PICTURE columns as actual JSON objects, not strings 13 years ago
Sam Bosley 19a99e6603 Removed unused SuppressWarnings 13 years ago
Sam Bosley 6947d411fd Fixed typo preventing Debug messages 13 years ago
Sam Bosley 17fdb0520e Don't report changes for uneditable UserActivity columns 13 years ago
Sam Bosley 3e1c722280 Several minor fixes to sync callbacks, ui fixes to TagViewFragment 13 years ago
Sam Bosley 89709ab71f Experimental scheme for passing callback functions with sync messages, to be run at the end of a loop 13 years ago
Sam Bosley 29d10a6003 Renamed some arguments in NameMaps to make things a little more sensical 13 years ago
Sam Bosley 4901e83765 Removed references to pushed_at columns in NameMaps 13 years ago
Sam Bosley 9e64858c8f Never write pushed_at value in MakeChanges 13 years ago
Sam Bosley 1e9839b4b6 Implement NowBriefed message 13 years ago
Sam Bosley 0f4b94011b Fixed some queries to use deletion_date correctly, enqueue changes happened when tags or members added to metadata tables 13 years ago
Sam Bosley f010730549 Fixed several minor errors creating/processing tag member links 13 years ago
Sam Bosley 4588748ada Implemented synchronizing tag member metadata, minor fixes to ChangesHappened 13 years ago
Sam Bosley cb21c10b1d Implemented UserData message, send created_at for each change 13 years ago
Sam Bosley 4a03d185e5 Removed Task.USER_EMAIL column--just send emails in the user_id column 13 years ago
Sam Bosley 9853d90948 Added ability to upload pictures with comments and tags 13 years ago
Sam Bosley dd957f773c Fixed a typo in NameMaps 13 years ago