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
d0351b9b69
window: update button name
...
To match the mockups
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
Georges Basile Stavracas Neto
e11c57f0a7
source-dialog: show edit page when a calendar is selected
2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto
30ca4c1d57
source-dialog: only add the source when it's not present
2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto
81c2a929c6
source-dialog: remove needless fields
...
Some fields became obsolete with the
latest mockups. This commit removes
them partially.
2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto
59eb0269e5
source-dialog: add calendars to the list
...
This does not differentiate GOA calendars
from normal ones. It'll happen in the near
future.
2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto
e49de556eb
source-dialog: use the new functions
2015-05-25 12:35:31 -04:00
Georges Basile Stavracas Neto
a6a54a2b24
utils: add helper function to retrieve parent source data
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
80d6e32fba
source-dialog: add stub rows for GOA providers
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
8be6e37b6d
source-dialog: add a header function
...
So each row can have a separator at
it's header.
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
39ae58aca5
source-dialog: retrieve some useful widgets from the UI
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
e6097fc8e9
source-dialog: fix stack child name, don't resize on mode change
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
15c4a774ac
source-dialog: partially implement the new proposed UI
...
The interface is looking horrible, and
most of the things are stubs now.
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
102b5431fd
source-dialog: better name the modes
...
Since we're not creating a calendar
as the default state, rename the mode
to NORMAL as it better describes the
dialog state.
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
ab46c242ae
window: update calendar popover button
...
The current mockups removed
the '+' button and changed
the button label to 'Calendar
Settings'. Update the popover
to match the mockups.
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
85830f005b
project: bump eds requirement
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
397e501413
source-dialog: update source names
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
3ca09ccfe4
source-dialog: use different detail frames
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
7df3e6261b
source-dialog: add more data to the sources
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
37624104cb
utils: better regext to match urls
2015-05-25 12:35:30 -04:00
Georges Basile Stavracas Neto
b55783a0ef
source-dialog: better handle server errors
2015-05-25 12:35:29 -04:00
Georges Basile Stavracas Neto
0a2a12ea7d
source-dialog: better handle 1-source servers
2015-05-25 12:35:29 -04:00
Georges Basile Stavracas Neto
e7bcae666c
source-dialog: insensitivize the add button at errors
2015-05-25 12:35:29 -04:00
Georges Basile Stavracas Neto
0cc4d90e02
source-dialog: remove previous results before adding new ones
2015-05-25 12:35:29 -04:00
Georges Basile Stavracas Neto
c04f13f474
source-dialog: remove discovered sources when page is cleared
2015-05-25 12:35:29 -04:00
Georges Basile Stavracas Neto
eaa1dd2509
source-dialog: hear 'activate' signal
2015-05-25 12:35:29 -04:00
Georges Basile Stavracas Neto
70aa052b0f
source-dialog: display discovered sources
...
Show the discovered sources in a neat
listbox. For the moment, it's just a
stub prototype.
2015-05-25 12:35:29 -04:00
Georges Basile Stavracas Neto
2b31fdc3f1
source-dialog: ask for user credentials
...
When the unlogged ping fails, ask for
user and password.
2015-05-25 12:35:29 -04:00
Georges Basile Stavracas Neto
701d5a437c
source-dialog: try the first request without credentials
...
Try to retrieve the remote server list of sources
without prompting the username:password.
2015-05-25 12:35:29 -04:00