Sam Thursfield [Fri, 20 May 2011 13:52:54 +0000 (14:52 +0100)]
Load icons manually on Windows
Icon themes don't really make sense (or work) when the app is running
in an independent sandbox prefix. Instead, the icons we need will be
put in share/icons and loaded directly using GdkPixbuf.
Sam Thursfield [Fri, 20 May 2011 10:18:09 +0000 (11:18 +0100)]
Search for MIDL.EXE in its default install location
I'm going to recommend installing all the MS tools in their default
Program files folders, because they seem to end up there no matter
what I tell the installer in any case.
Sam Thursfield [Thu, 19 May 2011 16:27:57 +0000 (17:27 +0100)]
Add Gtk runtime to installer
Sam Thursfield [Thu, 19 May 2011 14:20:24 +0000 (15:20 +0100)]
Hardcode Gtk theme settings for Windows
This avoids packaging a gtkrc file which has no real benefit when
being used inside a single-application sandbox prefix.
Sam Thursfield [Thu, 19 May 2011 12:31:10 +0000 (13:31 +0100)]
Enable Windows-specific compilation in Vala
Sam Thursfield [Thu, 19 May 2011 10:44:35 +0000 (11:44 +0100)]
Initial installer code
Sam Thursfield [Thu, 19 May 2011 09:58:10 +0000 (10:58 +0100)]
Fix memory leak
Sam Thursfield [Thu, 19 May 2011 09:57:49 +0000 (10:57 +0100)]
Add msrpc-mingw.m4 to tree
Any autoconf macros used are required to be present on all platforms,
even if not actually called, and we can hardly expect linux users to
have a support package for a Win32 interface installed :)
Sam Thursfield [Wed, 18 May 2011 15:51:50 +0000 (16:51 +0100)]
Fix configure.ac errors when running on *nix
Sam Thursfield [Wed, 18 May 2011 14:59:13 +0000 (15:59 +0100)]
(Remove debugging message)
Sam Thursfield [Wed, 18 May 2011 14:52:56 +0000 (15:52 +0100)]
Keep RPC calls in the same thread
It seems it's not possible to reply to an async RPC call outside
of the thread it's executing in. This means to communicate with the
Gtk+ main loop we must wait in the get_identity() function on a
GCond until the identity has been chosen.
Sam Thursfield [Wed, 18 May 2011 14:25:07 +0000 (15:25 +0100)]
Add MSRPC client and fix server code
Sam Thursfield [Wed, 18 May 2011 11:23:42 +0000 (12:23 +0100)]
Use owned callback for send_identity
This allows user data associated with the callback to be kept
referenced until the callback is replaced.
It seems that there are other unsolved problems with this part
of the code currently, in that the callback is called whenever the
'send' button is pressed even when no actual query is active, which
currently leads to crashes.
Sam Thursfield [Wed, 18 May 2011 09:32:56 +0000 (10:32 +0100)]
Allow disabling maintainer-mode (for MSYS compiles)
Sam Thursfield [Wed, 18 May 2011 09:11:41 +0000 (10:11 +0100)]
Define IPC_DBUS when using DBUS
Sam Thursfield [Wed, 18 May 2011 09:08:42 +0000 (10:08 +0100)]
(Improve configure error message)
Sam Thursfield [Tue, 17 May 2011 18:12:46 +0000 (19:12 +0100)]
Use MS RPC server on Windows
Javier Jardón [Fri, 20 May 2011 13:43:43 +0000 (14:43 +0100)]
moonshot-dbus-server: Change dbus interface
We now have 6 parameters in the "get_identity" function
We send 3 optional strings (nai, password, service) and return 3
strings (nai, password, certificate).
Also, It returns a boolean that is true is all is correct
Javier Jardón [Thu, 19 May 2011 13:21:38 +0000 (14:21 +0100)]
moonshot-window: Use conditional code to support older vala compilers
Javier Jardón [Thu, 19 May 2011 10:48:55 +0000 (11:48 +0100)]
moonshot-window: hide the window after send the Id card
Javier Jardón [Thu, 19 May 2011 10:44:53 +0000 (11:44 +0100)]
dbus: Remove some debug code
Javier Jardón [Thu, 19 May 2011 10:38:36 +0000 (11:38 +0100)]
moonshot-dbus-server: Initialize return array
Javier Jardón [Wed, 18 May 2011 17:00:56 +0000 (18:00 +0100)]
moonshot-dbus-server: passes the nai throught the sbus interface
NAI (network access identity) is something like user@realm
Javier Jardón [Wed, 18 May 2011 16:54:49 +0000 (17:54 +0100)]
Store the NAI in the IDCard object
Javier Jardón [Wed, 18 May 2011 16:18:05 +0000 (17:18 +0100)]
Little fix to make the UI GTK+3 compilant
Javier Jardón [Tue, 17 May 2011 16:09:16 +0000 (17:09 +0100)]
moonshot-window: Add "About" dialog
Javier Jardón [Tue, 17 May 2011 15:37:37 +0000 (16:37 +0100)]
moonnshot-window: Move the "Add Id card" button to the menubar
Javier Jardón [Tue, 17 May 2011 15:24:27 +0000 (16:24 +0100)]
moonshot-window: Add a menubar
Javier Jardón [Mon, 16 May 2011 11:16:49 +0000 (12:16 +0100)]
moonshot-window: align the services labels to the left
Javier Jardón [Fri, 13 May 2011 12:48:50 +0000 (14:48 +0200)]
Use a table to align the list of services
Javier Jardón [Fri, 13 May 2011 12:23:49 +0000 (14:23 +0200)]
moonshot-window: Make a real list of services
Javier Jardón [Mon, 9 May 2011 15:49:51 +0000 (17:49 +0200)]
Make the DBUS call async
So we wait until the user press the "send" button to reply
Javier Jardón [Mon, 9 May 2011 14:25:05 +0000 (16:25 +0200)]
Return the info stored in the selected Id Card
Return the info of the id card wich send button is pressed
Javier Jardón [Fri, 6 May 2011 14:34:21 +0000 (15:34 +0100)]
Add basic dbus implementation
We are using the dbus-glib deprecated bindings as we can not depend
on glib 2.26 for now
Javier Jardón [Thu, 5 May 2011 16:58:26 +0000 (17:58 +0100)]
moonshot-window: Add accesibility labels to the search entry
Javier Jardón [Thu, 5 May 2011 16:18:19 +0000 (17:18 +0100)]
Mark some string as translatable
Javier Jardón [Thu, 5 May 2011 16:17:59 +0000 (17:17 +0100)]
moonshot-window: Add accesibility labels to the Add button
Javier Jardón [Thu, 5 May 2011 15:52:00 +0000 (16:52 +0100)]
moonshot-idcard-widget: Add accesibility labels to the Id Card buttons
Javier Jardón [Thu, 5 May 2011 14:43:16 +0000 (15:43 +0100)]
Change the format of the .gss_eap_id
Now they looks like:
username@issuer
password
Javier Jardón [Thu, 5 May 2011 14:01:22 +0000 (15:01 +0100)]
configure.ac: relax the glib dependency to 2.24
So we can compile in Debian Squeeze.
We are still not using dbus, so It's not a hard requirement for the moment
Javier Jardón [Wed, 4 May 2011 23:20:29 +0000 (00:20 +0100)]
configure.ac: Relax gettext dependencies, 0.17 is enough
Javier Jardón [Wed, 4 May 2011 23:19:38 +0000 (00:19 +0100)]
configure.ac: Relax GTK+ dependencies: 2.20 is now the minimum version
Javier Jardón [Wed, 4 May 2011 22:49:48 +0000 (23:49 +0100)]
Only use the new Stock syntax if we have vala >= 0.12
Javier Jardón [Wed, 4 May 2011 10:40:49 +0000 (11:40 +0100)]
Generate a .gss_eap_id file in the home directory
This file will store only the username and password of the latest
ID card introduced
Javier Jardón [Wed, 4 May 2011 11:13:30 +0000 (12:13 +0100)]
Set the issuer as "Issuer" by default for now
Javier Jardón [Tue, 3 May 2011 15:46:38 +0000 (16:46 +0100)]
moonshot-window: search filter works
Redraw the widgets manually when some new text is in the entry
Javier Jardón [Tue, 3 May 2011 14:32:39 +0000 (15:32 +0100)]
Move the TreeModel to the MainWindow object again
Javier Jardón [Tue, 3 May 2011 05:55:41 +0000 (06:55 +0100)]
Use the XDG Base Directory Specification to store the data files
We store the data in the XDG_DATA_HOME directory
Javier Jardón [Tue, 3 May 2011 03:06:25 +0000 (04:06 +0100)]
Save the Id Card data in the file every time we remove a Id Card
Javier Jardón [Tue, 3 May 2011 02:54:02 +0000 (03:54 +0100)]
Save the Id Card data in the file every time we create a new Id Card
Javier Jardón [Tue, 3 May 2011 02:40:16 +0000 (03:40 +0100)]
moonshot-window: load ID Cards in the startup
Javier Jardón [Tue, 3 May 2011 02:25:42 +0000 (03:25 +0100)]
src/moonshot-identities-manager: Use FileUtils instead FileStream object
Javier Jardón [Tue, 3 May 2011 02:07:50 +0000 (03:07 +0100)]
Add IdentityManager class
This class will store/load the list of ID cards
Javier Jardón [Tue, 26 Apr 2011 12:22:07 +0000 (13:22 +0100)]
Only compute visible functin if the issuer and the search field are different to null
Javier Jardón [Tue, 26 Apr 2011 12:15:33 +0000 (13:15 +0100)]
Add refilter call for update the filter model
Javier Jardón [Tue, 26 Apr 2011 11:57:21 +0000 (12:57 +0100)]
Add a tree model filter for the search functionality
Javier Jardón [Thu, 21 Apr 2011 15:52:28 +0000 (16:52 +0100)]
Move the ListStore to the CustomVBox object
Javier Jardón [Thu, 21 Apr 2011 11:29:30 +0000 (12:29 +0100)]
Use a ListStore to store the data
For now we consider the "issuer" field unique
Javier Jardón [Thu, 21 Apr 2011 13:52:52 +0000 (14:52 +0100)]
moonshot-idcard-widget: align the ID Card data on the left
Javier Jardón [Thu, 21 Apr 2011 13:46:46 +0000 (14:46 +0100)]
Store services in the ID card
Javier Jardón [Thu, 21 Apr 2011 13:31:13 +0000 (14:31 +0100)]
Store the logo in the ID Card
Javier Jardón [Mon, 18 Apr 2011 15:54:57 +0000 (16:54 +0100)]
Fill the details fields when switching between ID cards
Javier Jardón [Mon, 18 Apr 2011 15:45:35 +0000 (16:45 +0100)]
Move the details notification signal to the IdCardWidget
When the details button is clicked, IdCardWidget will emit the
"details_id" signal, that will be handled by the main window widget
Javier Jardón [Mon, 18 Apr 2011 15:38:57 +0000 (16:38 +0100)]
Move the remove notification signal to the IdCardWidget
When the delete button is clicked, IdCardWidget will emit the
"delete_id" signal, that will be handled by the main window widget
Javier Jardón [Mon, 18 Apr 2011 14:55:18 +0000 (15:55 +0100)]
Pass the ID card info to the IDCardWidget constructor
Javier Jardón [Mon, 18 Apr 2011 12:28:58 +0000 (13:28 +0100)]
Only one IdCard widget can be selected at the same time
Create a signal in IdCardWidget to notify the expanded status to the
CustomVBox, so It can collapse the other IdCards
Javier Jardón [Mon, 18 Apr 2011 11:44:03 +0000 (12:44 +0100)]
Add CustomVBox widget
This widget will store the ID Cards
Javier Jardón [Mon, 18 Apr 2011 10:20:33 +0000 (11:20 +0100)]
Use a different color when the IdCard is selected
Javier Jardón [Fri, 15 Apr 2011 18:37:34 +0000 (19:37 +0100)]
moonshot-window: Manually create the viewport to control the border
Javier Jardón [Fri, 15 Apr 2011 18:23:54 +0000 (19:23 +0100)]
Colorize the background of the Id Cards
Javier Jardón [Fri, 15 Apr 2011 17:06:39 +0000 (18:06 +0100)]
Get the ID Card and show the details in separate functions
Javier Jardón [Fri, 15 Apr 2011 16:03:26 +0000 (17:03 +0100)]
Make username and password accesible in all the class
Javier Jardón [Fri, 15 Apr 2011 15:27:04 +0000 (16:27 +0100)]
Get the data from the "Add ID dialog" and put it on the "IdCardWidget"
Javier Jardón [Fri, 15 Apr 2011 15:23:39 +0000 (16:23 +0100)]
moonshot-id: Add username and password
Javier Jardón [Thu, 14 Apr 2011 18:34:30 +0000 (19:34 +0100)]
Hide the details panel when searching
Javier Jardón [Thu, 14 Apr 2011 17:56:50 +0000 (18:56 +0100)]
Connect the "delete" button of the Idcards to the handler
Also remove the bottom toolbar "delete" button
Javier Jardón [Thu, 14 Apr 2011 13:42:46 +0000 (14:42 +0100)]
Fix the layout of the main window
Now the window resize correctly when clicking in the "view details"
button
Javier Jardón [Thu, 14 Apr 2011 12:57:23 +0000 (13:57 +0100)]
idcard-widget: Use all the space of the event box
Javier Jardón [Wed, 13 Apr 2011 15:29:30 +0000 (16:29 +0100)]
Connect the details button with the details pane
Javier Jardón [Wed, 13 Apr 2011 15:21:17 +0000 (16:21 +0100)]
Enable access to the buttons of the idcard widget
Javier Jardón [Wed, 13 Apr 2011 15:15:34 +0000 (16:15 +0100)]
Remove bottom send button
Javier Jardón [Wed, 13 Apr 2011 12:00:42 +0000 (13:00 +0100)]
Do not expand child widgets
Javier Jardón [Tue, 12 Apr 2011 17:04:02 +0000 (18:04 +0100)]
Use the new IdCardWidget in the list of identities
Javier Jardón [Tue, 12 Apr 2011 16:37:32 +0000 (17:37 +0100)]
Convert IdCardWidget in a derived class of GtkBox
Javier Jardón [Tue, 12 Apr 2011 16:28:53 +0000 (17:28 +0100)]
Remove GtkTreeView implementation for the ID Cards list
Javier Jardón [Tue, 12 Apr 2011 15:23:47 +0000 (16:23 +0100)]
Add IdCard widget
Javier Jardón [Mon, 11 Apr 2011 17:34:15 +0000 (18:34 +0100)]
moonshot-add-dialog: Add some a11y support
Javier Jardón [Mon, 11 Apr 2011 15:18:52 +0000 (16:18 +0100)]
Remove Toolbar for now
Javier Jardón [Mon, 11 Apr 2011 14:52:11 +0000 (15:52 +0100)]
Use the dialog entry data
Javier Jardón [Mon, 11 Apr 2011 14:50:15 +0000 (15:50 +0100)]
moonshot-add-dialog: Make the fields accessible from outside the class
Javier Jardón [Mon, 11 Apr 2011 14:35:50 +0000 (15:35 +0100)]
moonshot-id: Use "issuer" instead "name"
Javier Jardón [Mon, 11 Apr 2011 14:23:35 +0000 (15:23 +0100)]
Splid the "Add ID" dialog in a different object
Javier Jardón [Fri, 8 Apr 2011 17:03:20 +0000 (18:03 +0100)]
Let the user clear the search textbox by typing 'Esc'.
Javier Jardón [Fri, 8 Apr 2011 16:57:19 +0000 (17:57 +0100)]
Add icon in the search entry to clear its content
Also, moved the search icon the the PRIMARY position
Javier Jardón [Fri, 8 Apr 2011 14:52:46 +0000 (15:52 +0100)]
Request more initial vertical size
Javier Jardón [Fri, 8 Apr 2011 14:32:58 +0000 (15:32 +0100)]
Only show the ID Card list by default
Javier Jardón [Thu, 7 Apr 2011 17:02:33 +0000 (18:02 +0100)]
Handled error when loading icon
Javier Jardón [Thu, 7 Apr 2011 16:43:09 +0000 (17:43 +0100)]
Use wrap-mode in the cell renderer
Javier Jardón [Thu, 7 Apr 2011 16:41:47 +0000 (17:41 +0100)]
Add services to ID Card
Javier Jardón [Wed, 6 Apr 2011 14:55:05 +0000 (15:55 +0100)]
Add logo to the identity cards