Sam Hartman [Tue, 21 Jun 2011 20:07:23 +0000 (16:07 -0400)]
Merge branch 'master' of file:///srv/git/moonshot-ui into debian
Sam Thursfield [Wed, 15 Jun 2011 15:37:34 +0000 (16:37 +0100)]
Neaten IdentityRequest callback code
With Vala 0.10.4 a few compiler warnings about mismatched function pointer
types are generated. This is due to Vala's code generation and cannot be
avoided, the warnings are harmless.
Sam Thursfield [Wed, 15 Jun 2011 14:40:08 +0000 (15:40 +0100)]
Fix new identity request code on Windows
Sam Thursfield [Wed, 15 Jun 2011 13:10:28 +0000 (14:10 +0100)]
(Update README.windows)
Sam Thursfield [Wed, 15 Jun 2011 13:10:12 +0000 (14:10 +0100)]
Update RPC server for new msprc-mingw
Sam Thursfield [Wed, 15 Jun 2011 10:57:52 +0000 (11:57 +0100)]
Make 'enter' in password dialog activate 'OK'
Sam Thursfield [Wed, 15 Jun 2011 10:51:15 +0000 (11:51 +0100)]
Implement 'remember password' option for password requests
Previously the password would be stored in the ID card regardless of whether
the user requested it to be saved.
Sam Thursfield [Wed, 15 Jun 2011 10:50:11 +0000 (11:50 +0100)]
Fix ReturnIdentity callback for vala 0.10
Sam Thursfield [Wed, 15 Jun 2011 10:32:59 +0000 (11:32 +0100)]
Make 'send' action safe when there are no ID requests
Sam Thursfield [Wed, 15 Jun 2011 10:30:06 +0000 (11:30 +0100)]
Fix setting password GtkEntry text to NULL
Sam Thursfield [Wed, 15 Jun 2011 10:23:36 +0000 (11:23 +0100)]
Handle concurrent identity requests correctly
Introduces the IdentityRequest class to replace the single selection
callback on the main window. A simple list of callbacks is not possible
due to limitations of Vala, and this method also allows sharing more
code between the D-Bus and MSRPC servers.
Sam Thursfield [Tue, 14 Jun 2011 14:37:40 +0000 (15:37 +0100)]
Fix missing \ in Makefile.am
Javier Jardón [Tue, 14 Jun 2011 14:35:16 +0000 (15:35 +0100)]
moonshot-dbus-server: Document the get_identity IPC interface
Javier Jardón [Tue, 14 Jun 2011 14:52:03 +0000 (15:52 +0100)]
moonshot-dbus-server: Initialize out parameters
Javier Jardón [Tue, 14 Jun 2011 14:43:54 +0000 (15:43 +0100)]
moonshot-dbus-server: Only return if we choose a ID card that has the requested service
Javier Jardón [Tue, 14 Jun 2011 13:08:06 +0000 (14:08 +0100)]
Fill the selected Id Card with the introduced password
Javier Jardón [Tue, 14 Jun 2011 12:36:13 +0000 (13:36 +0100)]
Work around a bug in vala 0.10 compiler
Javier Jardón [Tue, 14 Jun 2011 12:27:33 +0000 (13:27 +0100)]
dbus-client: Use /org/janet/moonshot instead /org/janet/Moonshot
Javier Jardón [Mon, 13 Jun 2011 17:52:23 +0000 (18:52 +0100)]
Do not use const strings for the copyright and the license
Javier Jardón [Mon, 13 Jun 2011 17:51:43 +0000 (18:51 +0100)]
moonshot-window: Fix typos about the use of Stock icons
Javier Jardón [Mon, 13 Jun 2011 15:34:00 +0000 (16:34 +0100)]
Change license
Javier Jardón [Mon, 13 Jun 2011 15:30:54 +0000 (16:30 +0100)]
Add Sam to the list of authors
Sam Hartman [Mon, 13 Jun 2011 12:06:40 +0000 (08:06 -0400)]
New Upstream release
Sam Hartman [Mon, 13 Jun 2011 12:05:40 +0000 (08:05 -0400)]
update control
Sam Hartman [Mon, 13 Jun 2011 12:05:13 +0000 (08:05 -0400)]
gettextize
Sam Hartman [Mon, 13 Jun 2011 11:58:43 +0000 (07:58 -0400)]
Merge remote branch 'origin/master' into debian
Javier Jardón [Fri, 10 Jun 2011 18:09:51 +0000 (19:09 +0100)]
Add DBus Activation
So the moonshot ui will be called when a client program request the
dbus service. Ie, It's not necessary a instance of the moonshot ui
running always in the system.
Javier Jardón [Wed, 8 Jun 2011 13:25:06 +0000 (14:25 +0100)]
Add password dialog
This dialog appears when the password is not already saved in the
identity card
Sam Thursfield [Mon, 23 May 2011 14:30:12 +0000 (15:30 +0100)]
(Fix mistake in README.windows)
Sam Thursfield [Mon, 23 May 2011 14:26:54 +0000 (15:26 +0100)]
Merge branch 'windows'
Sam Thursfield [Mon, 23 May 2011 14:25:15 +0000 (15:25 +0100)]
Update build instructions
Sam Thursfield [Mon, 23 May 2011 13:22:45 +0000 (14:22 +0100)]
Make IPC output parameters more vala-y
The outputs are no longer passed around so they can go back to
being ref parameters rather than explicit pointers.
Javier Jardón [Mon, 23 May 2011 13:26:38 +0000 (14:26 +0100)]
configure.ac: Fix dependencies checking
The pkg-config command is discovered through a separate macro,
PKG_PROG_PKG_CONFIG that takes care of identifying the presence (and version)
of pkg-config itself. This macro is called through AC_REQUIRE
so that is expanded before PKG_CHECK_MODULES.
If we have the first call to PKG_CHECK_MODULES inside a bash conditional block,
the expansion of PKG_PROG_PKG_CONFIG will also be conditional,
so the previous code will fail to work.
Javier Jardón [Mon, 23 May 2011 13:26:17 +0000 (14:26 +0100)]
moonshot-utils: Fix typo
Sam Thursfield [Mon, 23 May 2011 11:01:01 +0000 (12:01 +0100)]
Use configure to find win32-specific tools
Sam Thursfield [Sat, 21 May 2011 13:34:41 +0000 (14:34 +0100)]
Update to latest master
Sam Thursfield [Fri, 20 May 2011 13:57:07 +0000 (14:57 +0100)]
Add Windows helpers to Makefile
These will be improved :)
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
Sam Hartman [Thu, 5 May 2011 18:32:51 +0000 (14:32 -0400)]
Merge branch 'master' of file:///srv/git/moonshot-ui
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
Sam Hartman [Thu, 5 May 2011 00:10:23 +0000 (20:10 -0400)]
Merge branch 'master' of file:///srv/git/moonshot-ui
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
Sam Hartman [Wed, 4 May 2011 19:50:33 +0000 (15:50 -0400)]
typo
Sam Hartman [Wed, 4 May 2011 17:54:32 +0000 (13:54 -0400)]
autoreconf -i
Sam Hartman [Wed, 4 May 2011 17:53:28 +0000 (13:53 -0400)]
initial debian directory
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