Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No method of specifying update frequency #100

Open
jwir3 opened this issue Jan 9, 2014 · 1 comment
Open

No method of specifying update frequency #100

jwir3 opened this issue Jan 9, 2014 · 1 comment

Comments

@jwir3
Copy link
Contributor

jwir3 commented Jan 9, 2014

According to the documentation, agit updates known repositories quarter-hourly. It would be nice, to save bandwidth, if this frequency could be specified somehow. At the very least, it should be able to be disabled.

@rtyley
Copy link
Owner

rtyley commented Jan 9, 2014

Specifying the frequency would be nice.

It is already possible to disable the syncing -this can be done under device settings, where all your 'accounts' (Google, twitter, etc -and 'Agit') can be found- find the Agit one, click it, and untick the single Agit account within. This slightly awkward arrangement is due to the conventions of Androids 'Accounts and Sync' infrastructure:

http://developer.android.com/training/sync-adapters/creating-authenticator.html

jwir3 added a commit to jwir3/agit that referenced this issue Feb 21, 2014
…sources from handmark.pulltorefresh library.
jwir3 added a commit to jwir3/agit that referenced this issue Feb 21, 2014
jwir3 added a commit to jwir3/agit that referenced this issue Feb 21, 2014
…l sync frequency.

A settings menu was introduced in order to make changing the frequency of git repository synchronization more intuitive.  The new activity has a single preference that is being controlled, and is, as yet, unable to actually do anything after being set. It's not currently connected to a SharedPreferences object, either.
jwir3 added a commit to jwir3/agit that referenced this issue Feb 21, 2014
…pository sync frequency.

Adds a new PreferenceScreen xml file (and associated PreferenceActivity) that contains a single preference: a numeric value that controls how long (in minutes) the system should wait before attempting another synchronization.
jwir3 added a commit to jwir3/agit that referenced this issue Feb 22, 2014
…ntrols sync frequency.

Added a settings menu, accessible from the dashboard of the application, with a single preference entry: the frequency of the sync, in minutes. Added a handler for when this activity finishes, to set the preferences and re-initialize sync properties by re-adding the account.
jwir3 added a commit to jwir3/agit that referenced this issue Mar 2, 2014
jwir3 added a commit to jwir3/agit that referenced this issue Mar 2, 2014
jwir3 added a commit to jwir3/agit that referenced this issue Mar 4, 2014
… new dialog with different selections of sync options.
jwir3 added a commit to jwir3/agit that referenced this issue Mar 4, 2014
jwir3 added a commit to jwir3/agit that referenced this issue Mar 13, 2014
…ing an alarm that will run a sync immediately.
jwir3 added a commit to jwir3/agit that referenced this issue Mar 14, 2014
…ing an alarm that will run a sync immediately when the alarm goes off.
jwir3 added a commit to jwir3/agit that referenced this issue Mar 14, 2014
…ing an alarm that will run a sync immediately when the alarm goes off.
jwir3 added a commit to jwir3/agit that referenced this issue Mar 17, 2014
jwir3 added a commit to jwir3/agit that referenced this issue Mar 17, 2014
jwir3 added a commit to jwir3/agit that referenced this issue Mar 17, 2014
… new dialog with different selections of sync options.
jwir3 added a commit to jwir3/agit that referenced this issue Mar 17, 2014
jwir3 added a commit to jwir3/agit that referenced this issue Mar 17, 2014
…ing an alarm that will run a sync immediately when the alarm goes off.
jwir3 added a commit to jwir3/agit that referenced this issue Mar 17, 2014
… PR rtyley#103.

The following items were changed:
  * Removed commented options to sync on a specific day of the week and sync on
    a specific day of the month.
  * Added additional possibilities to sync every: 5 minutes, 4 hours, daily (not
    at a specified time), and weekly.
jwir3 added a commit to jwir3/agit that referenced this issue Mar 17, 2014
… PR rtyley#103.

The following items were changed:
  * Removed commented options to sync on a specific day of the week and sync on
    a specific day of the month.
  * Added additional possibilities to sync every: 5 minutes, 4 hours, daily (not
    at a specified time), and weekly.
  * Added some summary text to the list preference in the SettingsActivity that
    displays the current sync setting, so the user doesn't have to click into
    the sub-screen to see which sync setting is selected.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants