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 |
|
Georges Basile Stavracas Neto
|
5fb6123a57
|
source-dialog: try to list sources at the given server
Before anything, it doesn't work properly yet.
It uses the new family of functions provided by
EDS to discover the event sources from the given
URL.
|
2015-05-25 12:35:29 -04:00 |
|
Georges Basile Stavracas Neto
|
3f1c8325ae
|
Revert "source-dialog: remove entry pulse"
This reverts commit 79e4860a689aab89605b3b5da70a286ddf87af61.
|
2015-05-25 12:35:29 -04:00 |
|
Georges Basile Stavracas Neto
|
bc59205b82
|
source-dialog: take uri validation into account
|
2015-05-25 12:35:29 -04:00 |
|
Georges Basile Stavracas Neto
|
8c09524494
|
source-dialog: remove entry pulse
We aren't pinging the server for now.
|
2015-05-25 12:35:29 -04:00 |
|
Georges Basile Stavracas Neto
|
16c5401c86
|
source-dialog: create a source from url
|
2015-05-25 12:35:29 -04:00 |
|
Georges Basile Stavracas Neto
|
38d7a83664
|
source-dialog: remove unused details
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
01ac569a1a
|
utils: add function to parse uris
By using a custom regular expression,
parse a uri or abort if it's invalid.
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
e7af463290
|
window: release timeout source after undo
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
facb1fb1fc
|
source-dialog: remove needless placeholder
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
fdba1b2f65
|
source-dialog: shrink dialog height when mode changes
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
c8fc9c8b20
|
source-dialog: removed deprecated property
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
562c35d43a
|
source-dialog: remove needless action_area
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
7afc2b0c29
|
source-dialog: correctly check for any leftover resources
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
e46c5a34ac
|
source-dialog: don't resize to hardcoded values
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
8f725ae622
|
source-dialog: replace spinner by entry pulses
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
9969d6daa0
|
source-dialog: shut up the compiler
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
b43544cae7
|
window: update GcalSourceDialog::manager when the window's one is updated
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
1a495b28c7
|
source-dialog: use GtkFileChooserButton
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
8ff530b66a
|
source-dialog: simplify code
|
2015-05-25 12:35:28 -04:00 |
|
Georges Basile Stavracas Neto
|
e6da757a35
|
source-dialog: use g_clear_pointer
|
2015-05-25 12:35:27 -04:00 |
|
Georges Basile Stavracas Neto
|
054cb6edf6
|
source-dialog: fix style issues
|
2015-05-25 12:35:27 -04:00 |
|
Georges Basile Stavracas Neto
|
c0e8511db4
|
source-dialog: move E_TYPE_SOURCE_LOCAL to GcalSourceDialog::init
|
2015-05-25 12:35:27 -04:00 |
|
Georges Basile Stavracas Neto
|
350b2734b2
|
source-dialog: remove unused field
|
2015-05-25 12:35:27 -04:00 |
|
Georges Basile Stavracas Neto
|
5be25ed161
|
source-dialog: don't override unused methods
|
2015-05-25 12:35:27 -04:00 |
|
Georges Basile Stavracas Neto
|
e3f73b125b
|
source-dialog: pass NULL instead of an empty string to headerbar's subtitle
|
2015-05-25 12:35:27 -04:00 |
|
Georges Basile Stavracas Neto
|
3fd75163fb
|
source-dialog: bind fields instead of programatically set them
|
2015-05-25 12:35:27 -04:00 |
|
Georges Basile Stavracas Neto
|
6657dad17f
|
window: remove hash table usage
Replaced by g_object_{get|set}_data methods
|
2015-05-25 12:35:27 -04:00 |
|
Georges Basile Stavracas Neto
|
491e9d3e85
|
window: rename GcalWindow::make_row_for_source to GcalWindow::make_row_from_source
|
2015-05-25 12:35:27 -04:00 |
|
Georges Basile Stavracas Neto
|
b59da7e2e0
|
source-dialog: show a spinner when it should be validating
|
2015-05-25 12:35:27 -04:00 |
|
Georges Basile Stavracas Neto
|
54e6bca518
|
source-dialog: stub validation query
|
2015-05-25 12:35:27 -04:00 |
|
Georges Basile Stavracas Neto
|
429a9dec05
|
source-dialog: clear pages before showing the dialog in creation mode
|
2015-05-25 12:35:27 -04:00 |
|
Georges Basile Stavracas Neto
|
8703d2a41e
|
source-dialog: remove unused vars
|
2015-05-25 12:35:26 -04:00 |
|
Georges Basile Stavracas Neto
|
0415d2272b
|
source-dialog: clear previously unsaved calendars
|
2015-05-25 12:35:26 -04:00 |
|
Georges Basile Stavracas Neto
|
fb2bfca990
|
source-dialog: query some calendar data when selecting a calendar
|
2015-05-25 12:35:26 -04:00 |
|
Georges Basile Stavracas Neto
|
c48edbd682
|
manager: implement GcalManager::query_client_data
|
2015-05-25 12:35:26 -04:00 |
|
Georges Basile Stavracas Neto
|
1aa194e844
|
source-dialog: turn the name label into an entry
|
2015-05-25 12:35:26 -04:00 |
|
Georges Basile Stavracas Neto
|
b167967cc0
|
source-dialog: set the parent's display name as the headerbar subtitle
|
2015-05-25 12:35:26 -04:00 |
|
Georges Basile Stavracas Neto
|
e5a2361274
|
manager: implemented GcalManager::get_source method
|
2015-05-25 12:35:26 -04:00 |
|
Georges Basile Stavracas Neto
|
4d978a33f6
|
source-dialog: only allow removable sources to be removed
|
2015-05-25 12:35:26 -04:00 |
|
Georges Basile Stavracas Neto
|
17f56895dd
|
window: use markup label for in-app notification
|
2015-05-25 12:35:26 -04:00 |
|
Georges Basile Stavracas Neto
|
9df8b8077d
|
window: implement removing and undoing the removal of a calendar
We're still facing the bug where the just-added calendar segfaults when removed.
|
2015-05-25 12:35:26 -04:00 |
|
Georges Basile Stavracas Neto
|
9d222e47fc
|
source-dialog: separate local & remote source handling
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
f724a6aaf6
|
source-dialog: add button is insensitive by default
We must convince him to get sensitive by selecting a valid source.
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
4585b44941
|
window: remove annoying compile warning
Hey GCC, they're just pointers!
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
8ac47264a4
|
source-dialog: initial implementation of local source creation
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
16f12f600e
|
local-source: copy code from Evolution regarding local sources
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
3c5a1ebfe6
|
source-manager: don't try to save NULL sources
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
d6b4aef582
|
window: sort calendars by name
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
df1b7def8c
|
window: refresh calendar list when a source is edited
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
cba97f8719
|
source-dialog: properly save the source when the dialog is closed
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
18fa205916
|
manager: initial implementation of GcalManager::save_source method
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
ec1ad935da
|
source-dialog: implement changing the default source
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
c0c5f102c0
|
manager: fix return type
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
3070922f5e
|
manager: implement GcalManager::set_default_source method
|
2015-05-25 12:31:07 -04:00 |
|
Georges Basile Stavracas Neto
|
7f9eccb7a4
|
source-dialog: fix sizing issue
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
231c3e45ff
|
source-dialog: expand main stack
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
5c693f3e5a
|
source-dialog: don't fire the color signal when it's setting the source
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
96564b3502
|
source-dialog: fix return type
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
0ea4357703
|
source-dialog: implement color selection
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
84112ae721
|
source-dialog: open GNOME Control Center when the description label's link is activated
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
9a3e0e51ba
|
source-dialog: handle source name changes
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
4a9fca3aea
|
source-dialog: hide default source check when calendar is readonly
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
a4ffdf0314
|
source-dialog: bind title when diting
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
8097b22b60
|
source-dialog: update the default calendar check
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
c91d5bbb59
|
window: hide calendar popover when the dialog is trigged
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
b08165364a
|
window: set the source dialog's manager field
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
8e025c5f20
|
source-dialog: resize dialog according to the mode
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
07ac22de47
|
source-dialog: set the minimum width of the dialog
|
2015-05-25 12:31:06 -04:00 |
|
Georges Basile Stavracas Neto
|
557ec083da
|
window: set the source to be edited
|
2015-05-25 12:31:05 -04:00 |
|
Georges Basile Stavracas Neto
|
fe44186446
|
source-dialog: add GcalSourceDialog::set_source method
|
2015-05-25 12:31:05 -04:00 |
|
Georges Basile Stavracas Neto
|
95af5c72d3
|
window: hide the dialog after the response
|
2015-05-25 12:31:05 -04:00 |
|