Commit Graph

2059 Commits (e80141504022fb032cd0a6d00352dde175e62570)

Author SHA1 Message Date
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
Sam Bosley 61ef5ffda9 Fixed comments order bug 12 years ago
Sam Bosley a67cd4e18c Improvements to draggable list row layout 12 years ago
Sam Bosley be39796946 Fixed some height issues with draggable task adapter 12 years ago
Sam Bosley ea91c0508a Use white gear in baby blue theme 12 years ago
Sam Bosley b130fd2c80 Lots of minor polish items 12 years ago
Sam Bosley f594ed9981 New style ok button for edit dialogs 12 years ago
Sam Bosley 325417da97 Remove task rabbit from the who picker 12 years ago
Sam Bosley 93fbd75115 Show or hide specific default filters from the appearance prefs 12 years ago
Sam Bosley 14d8682578 Refactored preferences to be able to reset to defaults of a particular mode 12 years ago
Sam Bosley 4f28a9addc Improved subtasks sync 12 years ago
Sam Bosley 40e9098a40 Finalize many ab tests 12 years ago
Sam Bosley f3fecbe08b Fixed stupid logic typo 12 years ago
Sam Bosley ab5b49c619 Improvements to actfminvoker 12 years ago
Sam Bosley 14376462d3 Fixed a bug where FilterWithCustomIntent could use the wrong package name 12 years ago
Sam Bosley dec4a0d335 All new preference defaults for Astrid Lite version 12 years ago
Sam Bosley 09c945ae52 Merge and resolve conflicts from upstream/master 12 years ago
Sam Bosley fc3e3c6bf6 Report AB test variants when activating premium 12 years ago
Sam Bosley f8f27a3cb7 Adjusted reengagement reminder intervals for new users 12 years ago
Sam Bosley 0a0d8d2047 Minor fix to filter order sync 12 years ago
Sam Bosley 476743391b Merge branch '121203_sb_auto_signin_take2' 12 years ago
Sam Bosley 479f389768 Keeping a static instance of filter objects was a bad idea. Causes conflicts in subtasks mode 12 years ago
Sam Bosley dff4275e06 Fixed a bug where GCalControlSet might not be initialized correctly 12 years ago
Sam Bosley 6d228312db Polished the new layout for the standard login activity 12 years ago
Sam Bosley 56cd3d4beb Mostly working simple login page in the welcome walkthrough 12 years ago
Sam Bosley 4d1f009aef Fixed some bugs with syncing filter order 12 years ago
Sam Bosley d5f192c891 Sync filter orders with web 12 years ago
Sam Bosley df1fae5f70 Basic logic for syncing filter ordering 12 years ago
Sam Bosley 2ced210f91 Refactored some subtasks logic to support subtasks in today filter 12 years ago
Sam Bosley 408dc262cf Keep cache of Active Tasks and Today filter objects 12 years ago
Sam Bosley 14ff55969b Fixed a rare crash in reminder dialog 12 years ago
Sam Bosley cf488a9763 Fixed a few null pointer crashes with the latest build 12 years ago
Sam Bosley 828f4ad1a6 Revert "Minor polish to user images when transparency exists"
This reverts commit e1cfafcd63.
12 years ago
Sam Bosley e1cfafcd63 Minor polish to user images when transparency exists 12 years ago
Sam Bosley 8ed243ed67 Resolved more issues with gtasks fragments 12 years ago
Sam Bosley ccf9cd8d34 Fixed a couple subtasks related crashes for google tasks fragments 12 years ago
Sam Bosley ed28990e1e Improved checking of whether outstanding entries should be recorded; added unit test for ReplayOutstandingEntries 12 years ago
Sam Bosley b9c74720a3 Don't allow random exceptions to crash the phone state receiver 12 years ago
Sam Bosley 8679052120 Updated MakeChanges to the new spec 12 years ago
Sam Bosley d45e6c575e Implemented ReplayOutstandingEntries 12 years ago
Sam Bosley a4405481f7 Use visitors when processing ChangesHappened or MakeChanges to ensure types are correct; started working on ReplayOutstandingEntries 12 years ago
Sam Bosley 184972f246 Placeholder method for cleaning up after processing a sync message batch 12 years ago
Sam Bosley df9f6d515b Fixed a null pointer exception that could get thrown in the subtasks metadata migration when bad data was in the database 12 years ago
Sam Bosley 99357842bb Make the sync thread a singleton 12 years ago
Sam Bosley 29d50022a5 Refactored message instantiation, simplified enqueueing messages 12 years ago
Sam Bosley b6218cd4b4 Sync queue initialization 12 years ago
Sam Bosley 78cf95f767 Minor refactor to changes happened instantiation 12 years ago
Sam Bosley 8810e962c8 Added some unit tests 12 years ago
Sam Bosley dfa8b99aa7 Don't record outstanding entries in MakeChanges 12 years ago
Sam Bosley 3847e03774 Make sure that pushed_at property is included in name maps, but don't record outstanding entries for it 12 years ago
Sam Bosley 742e53ea54 Refactored ClientToServerMessage JSON serialization 12 years ago
Sam Bosley e479f7a3ff Log some ignored errors 12 years ago
Sam Bosley 65f74e7456 Implementation of MakeChanges 12 years ago
Sam Bosley 0f308db6aa Improvements to NameMaps, AcknowledgeChange, ChangesHappened 12 years ago
Sam Bosley e9ab0a4859 Implemented Debug 12 years ago
Sam Bosley af5921a175 Implemented AcknowledgeChange 12 years ago
Sam Bosley d4b02c174b Use real token in actfm sync thread 12 years ago
Sam Bosley d8da952cc7 Built skeletons for server to client messages 12 years ago
Sam Bosley d24b71c5aa Check for potential null pointers in ActFmLoginActivity 12 years ago
Sam Bosley 0ab32b9d58 Introduce an ErrorCatchingListView to fix a pre-ICS ListView bug (see http://stackoverflow.com/questions/12473625/nullpointerexception-at-android-widget-abslistview-contentfitsabslistview-java) 12 years ago
Sam Bosley b2ecdf4c65 Sync tag orderings after metadata migration 12 years ago
Sam Bosley c64db963a1 Cleanup, a few more implementations of serializeToJSON for ClientToServer messages 12 years ago
Sam Bosley af034a4089 Started working on the classes to support column name mapping 12 years ago
Sam Bosley dc2c37edaf Some improvements to tag order syncing, better timing to ensure most accurate data pushed 12 years ago
Sam Bosley bf7ba3d7c4 Some refactoring, serializing client to server messages to JSON 12 years ago
Sam Bosley 5c39dc55d3 When syncing a list, if its order exists in the ordering queue, push it immediately 12 years ago
Sam Bosley 9460610837 Stupid omission is stupid 12 years ago
Sam Bosley 6938478558 More powerful list order validation, fixes some bugs when weird hierarchies may exist 12 years ago
Sam Bosley 384ae65d25 Fixed a bug where sometimes sync would be perpetually ongoing, blocking sync on save. This is tragic 12 years ago
Sam Bosley 8feff285cd Change a type 12 years ago
Sam Bosley 4aec3ba2f9 Cleaned up the sync migrator a little 12 years ago
Sam Bosley ce42d6a8a6 Convert a query to use uuid 12 years ago
Sam Bosley 89ed5a9b31 Renamed a file 12 years ago
Sam Bosley f90996a015 Merge and resolve conflicts from upstream/master 12 years ago
Sam Bosley 61d080bcc4 Fetching list order requires token 12 years ago
Sam Bosley 505e591a2d Minor changes to list order api call 12 years ago
Sam Bosley 8687e3e192 Some tweaks to subtasks sync, hopefully resolves some timing issues 12 years ago
Sam Bosley 374a0daf07 Report statistic for featured list cloned 12 years ago
Sam Bosley 5de1f6e2a0 Handle the case when subtasks are repeating 12 years ago
Sam Bosley eab34ae7fa Fixed some layout oddities with the draggable task adapter 12 years ago
Sam Bosley c6d51d3aa5 AB test for drag and drop 12 years ago
Sam Bosley ff5d592785 Got rid of DisposableTaskListFragment, it was causing crashes :( 12 years ago
Sam Bosley f6be6998cc Added a forgot password link to the sign in screen 12 years ago
Sam Bosley aad8ebbc98 Minor refactor and bugfix to subtasks 12 years ago
Sam Bosley ded2f5d674 Merge remote-tracking branch 'origin/121105_sb_sync_subtasks' 12 years ago
Sam Bosley 65809dc2cc Don't try to autosync tags when not logged in 12 years ago
Sam Bosley 1cdf9ea8b0 Fixed an error; push order queue doesn't need to be blocking 12 years ago
Sam Bosley c6600c536f Threadsafe version of syncing manual ordering, delay before sync in case many changes are occurring 12 years ago
Sam Bosley 6e1352e3c9 Naive syncing of list order is working 12 years ago
Sam Bosley d17ea10617 Make sure the server provided ordering has the root element before processing 12 years ago
Sam Bosley 575bc4b135 Added unit tests for subtasks helper functions 12 years ago
Sam Bosley a0d7ac427c Fix some issues and remove unecessary code 12 years ago
Sam Bosley cbd2d92c0e Convert to local ordering before saving during sync 12 years ago
Sam Bosley 3fb5c150c9 Save ordering obtained from task_list result 12 years ago
Sam Bosley 60ba37662d Don't give up on the entire hierarchy when remapping tree ids--just deindent children if an id isn't found 12 years ago
Sam Bosley 7130547bef Wrote some helper functions to convert subtask trees between local and remote ids (could be useful for syncing) 12 years ago
Sam Bosley 0ad805648f Implemented a more concise serialization scheme for subtasks 12 years ago
Sam Bosley 49fad99bd2 Temporarily disable calendar reminders for Android 2.1 users 12 years ago
Sam Bosley c0e0a27c18 Report statistic for premium page viewed 12 years ago
Sam Bosley 9a0a1ab6c9 AB test the social reminders 12 years ago
Sam Bosley 80ec3cbe17 Add faces of people shared with to reminders 12 years ago
Sam Bosley 8ed2046c4f Removed a println 12 years ago
Sam Bosley ec576dc568 Fixed an ordering bug in subtasks migration 12 years ago
Sam Bosley 7560421141 Fixed a bug with subtasks tag view not working when tasks were added 12 years ago
Sam Bosley 4d7aa95ea2 Reflect manual ordering in widgets 12 years ago
Sam Bosley d09987bbfd Restart launching activity after upgrade 12 years ago
Sam Bosley ea1b213385 Clear metadata when reading indent 12 years ago
Sam Bosley b5ad7136bf Check if indent property exists 12 years ago
Sam Bosley 4146038c77 Wrote test for subtasks migration 12 years ago
Sam Bosley 4cc3838d03 Rewrote subtasks moving tests for the new subtasks scheme 12 years ago
Sam Bosley cb5c89fece Don't allow moving parent into children 12 years ago
Sam Bosley dd30cc59dd First draft at a subtasks metadata migration 12 years ago
Sam Bosley e6d45aecba Fixed a bug where moving to the end of a list wouldn't update the indentation correctly 12 years ago
Sam Bosley 7388399552 Refactored and renamed things to support legacy metadata ordered lists for gtasks 12 years ago
Sam Bosley a59abccdf1 Update the in memory tree model when adding tasks 12 years ago
Sam Bosley 6c9f1c1a09 Don't ever need to serialize tree from filter, the verification will take care of it 12 years ago
Sam Bosley 113e671550 Verify tree model by checking for missing tasks on initialization 12 years ago
Sam Bosley df36dcc808 Updater should save tree state on change 12 years ago
Sam Bosley 9a5a6afd3e Default value for tag ordering property, killed dead code 12 years ago
Sam Bosley 64e2b7bc14 Refactor some indent logic 12 years ago
Sam Bosley 8ec79a2eb9 Fixed bugs with deleting a task messing up indent model 12 years ago
Sam Bosley fe79994c6a Fixed bugs relating to indentation and list refreshing 12 years ago
Sam Bosley 4c7139a7ce Killed a println 12 years ago
Sam Bosley 5ed0555280 Manual ordering seems to be sort of working, bugs may still exist 12 years ago
Sam Bosley 13d85be8e8 Make all subtasks fragments compile using the new helper classes (untested) 12 years ago
Sam Bosley 029e5450ab Implement move to end of list, get task indent from node 12 years ago
Sam Bosley 01ca8189f1 Implemented function to traverse list tree and output an ordered id list 12 years ago
Sam Bosley fb21f68b84 Implemented move in the new ordered list updater 12 years ago
Sam Bosley fa5739f499 Started implementing in-memory management of sort and subtasks 12 years ago
Sam Bosley 53d6c2387d Refactored some of arne's code for adding assignees to a list, fixed the ui refresh issue 12 years ago
Arne Jans e349349e7e Preliminary support for asking about adding a user to a list, if the user
is assigned by email and not in the list-members.
The GUI (memberlist in TagViewFragment) is not updating, though, so the new user isn't reflected yet.
12 years ago
Sam Bosley b21d5aa063 Fixed a menu bug with featured lists when swipe enabled 12 years ago
Sam Bosley 51b33a3c9b More timing fixes 12 years ago
Sam Bosley 2cb3c9c27c Fixed a timing bug with syncing people view after friend request/accept 12 years ago
Sam Bosley 8685461911 Fixed a crash with creating a calendar list with swipe enabled, refactored some constant names for clarity 12 years ago
Sam Bosley a1ff1046ee Only show calendar reminders for which the user is an actual attendee (i.e. not just shared on the calendar) 12 years ago
Sam Bosley 90fb29b4ad Just-in-case null pointer check in person list fragment (should never happen) 12 years ago
Sam Bosley ee65ce2931 Fixed potential null pointer when scheduling calendar events 12 years ago
Sam Bosley 6f67c580a7 Minor calendar fix, respect featured list preference in main menu 12 years ago
Sam Bosley 296c659b47 Calendar reminders should get scheduled when the preference is turned on 12 years ago
Sam Bosley 07284c3b17 Fixed a bug when adding friends 12 years ago
Sam Bosley 24064ac578 Don't show blocked or ignored users 12 years ago
Sam Bosley e8ed1aea58 Update invoker to use api level 7 12 years ago
Sam Bosley 400ffa10cb Fixed some minor display bugs with the friend accept button 12 years ago
Sam Bosley 3984cfb2c2 Fixed a bug when saving suggested users, which don't have email strings 12 years ago
Sam Bosley 14a13fe241 Minor cleanup 12 years ago
Sam Bosley acf80330df Only show active and visible tasks in the people views 12 years ago
Sam Bosley 812c5b128e Launch task comments view when non-editable task clicked 12 years ago
Sam Bosley 61eabcc3cf Refactored to pass editable flag to the AstridActivity when task item clicked. This will make it easier to choose whether to launch the edit page or the comments page 12 years ago
Sam Bosley eae50fdae1 Renamed TagUpdatesActivity to general purpose CommentsActivity for both tag and task comment fragments 12 years ago
Sam Bosley 0b9f54295e Renamed TagUpdatesFragment to TagCommentsFragment 12 years ago
Sam Bosley 2a2ab57ece Finished implementing the TaskCommentsFragment (untested) 12 years ago
Sam Bosley 48eb144cff Started implementing a task comments fragment 12 years ago
Sam Bosley bbaee36592 Removed a bunch of unused stuff 12 years ago
Sam Bosley 2999bef8ab Started refactoring TagUpdatesFragment into an abstract superclass 12 years ago
Sam Bosley 696bf298db Refactored featured list preference code to be easier to read, introduce an ab test for the presence of featured lists 12 years ago
Sam Bosley 31198a193a Should push user status not on the ui thread 12 years ago
Sam Bosley e5d049874d Try to push user status right away after pressing 'accept' or 'request' button 12 years ago
Sam Bosley a58844e05d Fill out the implementation of pushUser in actfmsyncservice 12 years ago
Sam Bosley b948fb2f52 Fetch suggested users along with regular users 12 years ago
Sam Bosley 81b3e15912 Partial implementation of updating user status 12 years ago
Sam Bosley d18d2b9397 Better interactions and copy in the friend status views 12 years ago
Sam Bosley 8af1725283 Stubs for handling the user status clicked button 12 years ago
Sam Bosley 2e110cdb93 Layout adjustments, removed unused field 12 years ago
Sam Bosley 0044ff23e2 Progress towards a user status button in the upper right corner 12 years ago
Sam Bosley 47f736d17a Started working on new layout for people view 12 years ago
Sam Bosley b62e1755f1 Refactored static subtasks methods into a subtasks helper class 12 years ago
Sam Bosley 5c669f0b0e Started refactoring to have fragment instantiation take care of choosing the subtasks fragment to use, mostly working 12 years ago
Sam Bosley 759b0f427c Merge Sam's 121009_sb_calendar_assistant branch 12 years ago
Sam Bosley bc68825151 Don't include event attendees that are any of the accounts that exist on the phone 12 years ago
Sam Bosley c24a4e7383 Fixed a format string, dismissing list creation confirmation should still create the list 12 years ago