Commit Graph
1068 Commits
Author SHA1 Message Date
Georges Basile Stavracas Neto 71d93bd914 application: load a GoaClient on init
It is done here to make it reusable for
the future initial setup dialog too.
2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto a61a970049 source-dialog: spawn online accounts creation on row activation 2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto 6f8199c488 project: add Goa dependency 2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto 5d6fe1b7f4 source-dialog: revalidates on entry activation 2015-05-25 12:35:56 -04:00
Georges Basile Stavracas Neto b45e76b9af source-dialog: properly hide the list of discovered sources 2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto bbca705f55 source-dialog: show an icon on success for web sources 2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto 24189bddd3 source-dialog: fix sorting function 2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto e62d744cef source-dialog: Add a "Calendars" label before calendar listbox
Also, this commit correctly hides the calendar
label and list.
2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto dcd1fbe6d9 source-dialog: fix insensitive button when addin file or local source 2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto d892f981cb source-dialog: first action goes top, second goes down 2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto d5b04e24ac source-dialog: always focus user entry when asking credentials 2015-05-25 12:35:55 -04:00
Georges Basile Stavracas Neto 85fd55ce96 source-dialog: make it able to select the desired calendars 2015-05-25 12:35:54 -04:00
Georges Basile Stavracas Neto 76432b81e0 source-dialog: fix credentials leaked data 2015-05-25 12:35:54 -04:00
Georges Basile Stavracas Neto 102698a9e3 source-dialog: remove unneeded fields 2015-05-25 12:35:54 -04:00
Georges Basile Stavracas Neto dc30e1e4b0 source-dialog: give empty credentials instead of none at all 2015-05-25 12:35:54 -04:00
Georges Basile Stavracas Neto 1c34dc69d8 source-dialog: use a list of remote sources instead of a single pointer 2015-05-25 12:35:54 -04:00
Georges Basile Stavracas Neto 905dcc4268 source-dialog: make the field a boolean, not pointer 2015-05-25 12:35:54 -04:00
Georges Basile Stavracas Neto 8dcd64b3ec source-dialog: remove unused var 2015-05-25 12:35:54 -04:00
Georges Basile Stavracas Neto 5ef9baa7cf source-dialog: better sort calendars
Make GOA calendars go first. GOA one are
sorted by their account name. Then, other
calendars are placed, grouped by their types
and then sorted by their named.
2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto 820b9652cf source-dialog: initialize values 2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto 70ecba33ff source-dialog: move credentials prompter to builder UI file
Save us some lines.
2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto fda5684371 source-dialog: refactor code 2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto 49fde8dc22 source-dialog: respond to the 'sources.web' action 2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto 1c5b5739e7 source-dialog: add CREATE_WEB mode 2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto 855c4ddd1f source-dialog: implement 'source.local' action
Local calendars can now be added.
2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto b659d6a7cb source-dialog: add GOA sources to the list
Actually, it *should* add GOA sources,
don't know why I removed it.
2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto cdd6c967f8 source-dialog: properly update edit page top widgets
Build URIs for files and remote sources,
hide things for local calendars, etc. The
only major missing piece of the puzzle now
is GOA itself.
2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto 33d341ff13 source-dialog: sort calendars by their display name 2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto 72eb5dd20b source-dialog: make remove action local to the dialog
Instead of delegating it to GcalWindow, take
the responsability to manage the source removal
logic.

This commit expose a problem we were trying to
avoid: make our widgets sensitive to source
modifications.
2015-05-25 12:35:33 -04:00
Georges Basile Stavracas Neto c7341d77f0 source-dialog: spawns GCC when gear button is clicked 2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto c416148d23 source-dialog: remove needless data from add button 2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto 2ffa2ecf6e source-dialog: forbid empty source names 2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto d4899eaa39 source-dialog: save the source when 'Add' button is clicked 2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto b91f732fba project: remove ESourceLocal extension
Milan Crha exported some extensions at EDS,
and ESourceLocal was one of them.
2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto d27fe3cae0 source-dialog: only add non-GOA sources to 'Calendars' list
GOA sources are special-cased, and will be
accessible by selecting the GOA account.
2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto 378d4c8c81 source-dialog: refactor mode handling code
This commit introduce changes of
how GcalSourceDialog handles the
creation of new sources.

At the moment, only file sources
are add-able.
2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto c49b306f7a source-dialog: add CREATE mode 2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto 47fd4a1ce5 source-dialog: implement 'source.dialog' action 2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto e203887484 source-dialog: implement "Add" button menu
The actions are still stub.
2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto 2667a0860e source-dialog: add an action group 2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto 876d50fdab source-dialog: be sensitive to GcalManager::'source-removed' signal 2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto 68569cd802 source-dialog: implement helper function 2015-05-25 12:35:32 -04:00
Georges Basile Stavracas Neto 06a5a067ab source-dialog: hook "Display calendar" checkbox action
Hide & show the calendars when the
checkbox state changes.
2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto 34fb3b2bf9 source-dialog: set the mode instead of the raw stack page 2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto f70702a885 window: correctly set the source and mode
Cannot change to edit mode without actually
give the source to edit.
2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto 55613280cc source-dialog: update fields when a calendar is selected 2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto 71bd70a0c0 source-dialog: take a ref for the given source 2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto 882aa9446d source-dialog: hide remove button instead of insensitivize it
New mockups hide the remove button. Follow it.
2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto ed572e1ff8 source-dialog: correctly check the current stack page 2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto 35a622a27b source-dialog: give back button some action
Makes it show, hide and go back to the
correct page. Nothing deep by this
point.
2015-05-25 12:35:31 -04:00