moonshot-ui.git
12 years ago(Tweak conditionals in Makefile.am)
Sam Thursfield [Wed, 29 Jun 2011 13:02:20 +0000 (14:02 +0100)]
(Tweak conditionals in Makefile.am)

12 years agoNeaten IdentityRequest callback code
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.

12 years agoFix new identity request code on Windows
Sam Thursfield [Wed, 15 Jun 2011 14:40:08 +0000 (15:40 +0100)]
Fix new identity request code on Windows

12 years agoMerge branch 'master' of gitorious.codethink.co.uk:moonshot-ui/moonshot-ui
Sam Thursfield [Wed, 15 Jun 2011 13:10:44 +0000 (14:10 +0100)]
Merge branch 'master' of gitorious.codethink.co.uk:moonshot-ui/moonshot-ui

12 years ago(Update README.windows)
Sam Thursfield [Wed, 15 Jun 2011 13:10:28 +0000 (14:10 +0100)]
(Update README.windows)

12 years agoUpdate RPC server for new msprc-mingw
Sam Thursfield [Wed, 15 Jun 2011 13:10:12 +0000 (14:10 +0100)]
Update RPC server for new msprc-mingw

12 years agoMake 'enter' in password dialog activate 'OK'
Sam Thursfield [Wed, 15 Jun 2011 10:57:52 +0000 (11:57 +0100)]
Make 'enter' in password dialog activate 'OK'

12 years agoImplement 'remember password' option for password requests
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.

12 years agoFix ReturnIdentity callback for vala 0.10
Sam Thursfield [Wed, 15 Jun 2011 10:50:11 +0000 (11:50 +0100)]
Fix ReturnIdentity callback for vala 0.10

12 years agoMake 'send' action safe when there are no ID requests
Sam Thursfield [Wed, 15 Jun 2011 10:32:59 +0000 (11:32 +0100)]
Make 'send' action safe when there are no ID requests

12 years agoFix setting password GtkEntry text to NULL
Sam Thursfield [Wed, 15 Jun 2011 10:30:06 +0000 (11:30 +0100)]
Fix setting password GtkEntry text to NULL

12 years agoHandle concurrent identity requests correctly
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.

12 years agomoonshot-dbus-server: Document the get_identity IPC interface
Javier Jardón [Tue, 14 Jun 2011 14:35:16 +0000 (15:35 +0100)]
moonshot-dbus-server: Document the get_identity IPC interface

12 years agomoonshot-dbus-server: Initialize out parameters
Javier Jardón [Tue, 14 Jun 2011 14:52:03 +0000 (15:52 +0100)]
moonshot-dbus-server: Initialize out parameters

12 years agomoonshot-dbus-server: Only return if we choose a ID card that has the requested service
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

12 years agoFill the selected Id Card with the introduced password
Javier Jardón [Tue, 14 Jun 2011 13:08:06 +0000 (14:08 +0100)]
Fill the selected Id Card with the introduced password

12 years agoWork around a bug in vala 0.10 compiler
Javier Jardón [Tue, 14 Jun 2011 12:36:13 +0000 (13:36 +0100)]
Work around a bug in vala 0.10 compiler

12 years agodbus-client: Use /org/janet/moonshot instead /org/janet/Moonshot
Javier Jardón [Tue, 14 Jun 2011 12:27:33 +0000 (13:27 +0100)]
dbus-client: Use /org/janet/moonshot instead /org/janet/Moonshot

12 years agoDo not use const strings for the copyright and the license
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

12 years agomoonshot-window: Fix typos about the use of Stock icons
Javier Jardón [Mon, 13 Jun 2011 17:51:43 +0000 (18:51 +0100)]
moonshot-window: Fix typos about the use of Stock icons

12 years agoChange license
Javier Jardón [Mon, 13 Jun 2011 15:34:00 +0000 (16:34 +0100)]
Change license

12 years agoMerge branch 'master' of gitorious.codethink.co.uk:moonshot-ui/moonshot-ui into gitorious
Javier Jardón [Tue, 14 Jun 2011 15:06:36 +0000 (16:06 +0100)]
Merge branch 'master' of gitorious.codethink.co.uk:moonshot-ui/moonshot-ui into gitorious

12 years agoFix missing \ in Makefile.am
Sam Thursfield [Tue, 14 Jun 2011 14:37:40 +0000 (15:37 +0100)]
Fix missing \ in Makefile.am

12 years agoAdd Sam to the list of authors
Javier Jardón [Mon, 13 Jun 2011 15:30:54 +0000 (16:30 +0100)]
Add Sam to the list of authors

12 years agoAdd DBus Activation
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.

12 years agoAdd password dialog
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

13 years ago(Fix mistake in README.windows)
Sam Thursfield [Mon, 23 May 2011 14:30:12 +0000 (15:30 +0100)]
(Fix mistake in README.windows)

13 years agoMerge branch 'windows'
Sam Thursfield [Mon, 23 May 2011 14:26:54 +0000 (15:26 +0100)]
Merge branch 'windows'

13 years agoUpdate build instructions
Sam Thursfield [Mon, 23 May 2011 14:25:15 +0000 (15:25 +0100)]
Update build instructions

13 years agoMake IPC output parameters more vala-y
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.

13 years agoconfigure.ac: Fix dependencies checking
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.

13 years agomoonshot-utils: Fix typo
Javier Jardón [Mon, 23 May 2011 13:26:17 +0000 (14:26 +0100)]
moonshot-utils: Fix typo

13 years agoUse configure to find win32-specific tools
Sam Thursfield [Mon, 23 May 2011 11:01:01 +0000 (12:01 +0100)]
Use configure to find win32-specific tools

13 years agoUpdate to latest master
Sam Thursfield [Sat, 21 May 2011 13:34:41 +0000 (14:34 +0100)]
Update to latest master

13 years agoAdd Windows helpers to Makefile
Sam Thursfield [Fri, 20 May 2011 13:57:07 +0000 (14:57 +0100)]
Add Windows helpers to Makefile

These will be improved :)

13 years agoLoad icons manually on Windows
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.

13 years agoSearch for MIDL.EXE in its default install location
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.

13 years agoAdd Gtk runtime to installer
Sam Thursfield [Thu, 19 May 2011 16:27:57 +0000 (17:27 +0100)]
Add Gtk runtime to installer

13 years agoHardcode Gtk theme settings for Windows
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.

13 years agoEnable Windows-specific compilation in Vala
Sam Thursfield [Thu, 19 May 2011 12:31:10 +0000 (13:31 +0100)]
Enable Windows-specific compilation in Vala

13 years agoInitial installer code
Sam Thursfield [Thu, 19 May 2011 10:44:35 +0000 (11:44 +0100)]
Initial installer code

13 years agoFix memory leak
Sam Thursfield [Thu, 19 May 2011 09:58:10 +0000 (10:58 +0100)]
Fix memory leak

13 years agoAdd msrpc-mingw.m4 to tree
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 :)

13 years agoFix configure.ac errors when running on *nix
Sam Thursfield [Wed, 18 May 2011 15:51:50 +0000 (16:51 +0100)]
Fix configure.ac errors when running on *nix

13 years ago(Remove debugging message)
Sam Thursfield [Wed, 18 May 2011 14:59:13 +0000 (15:59 +0100)]
(Remove debugging message)

13 years agoKeep RPC calls in the same thread
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.

13 years agoAdd MSRPC client and fix server code
Sam Thursfield [Wed, 18 May 2011 14:25:07 +0000 (15:25 +0100)]
Add MSRPC client and fix server code

13 years agoUse owned callback for send_identity
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.

13 years agoAllow disabling maintainer-mode (for MSYS compiles)
Sam Thursfield [Wed, 18 May 2011 09:32:56 +0000 (10:32 +0100)]
Allow disabling maintainer-mode (for MSYS compiles)

13 years agoDefine IPC_DBUS when using DBUS
Sam Thursfield [Wed, 18 May 2011 09:11:41 +0000 (10:11 +0100)]
Define IPC_DBUS when using DBUS

13 years ago(Improve configure error message)
Sam Thursfield [Wed, 18 May 2011 09:08:42 +0000 (10:08 +0100)]
(Improve configure error message)

13 years agoUse MS RPC server on Windows
Sam Thursfield [Tue, 17 May 2011 18:12:46 +0000 (19:12 +0100)]
Use MS RPC server on Windows

13 years agomoonshot-dbus-server: Change dbus interface
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

13 years agomoonshot-window: Use conditional code to support older vala compilers
Javier Jardón [Thu, 19 May 2011 13:21:38 +0000 (14:21 +0100)]
moonshot-window: Use conditional code to support older vala compilers

13 years agomoonshot-window: hide the window after send the Id card
Javier Jardón [Thu, 19 May 2011 10:48:55 +0000 (11:48 +0100)]
moonshot-window: hide the window after send the Id card

13 years agodbus: Remove some debug code
Javier Jardón [Thu, 19 May 2011 10:44:53 +0000 (11:44 +0100)]
dbus: Remove some debug code

13 years agomoonshot-dbus-server: Initialize return array
Javier Jardón [Thu, 19 May 2011 10:38:36 +0000 (11:38 +0100)]
moonshot-dbus-server: Initialize return array

13 years agomoonshot-dbus-server: passes the nai throught the sbus interface
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

13 years agoStore the NAI in the IDCard object
Javier Jardón [Wed, 18 May 2011 16:54:49 +0000 (17:54 +0100)]
Store the NAI in the IDCard object

13 years agoLittle fix to make the UI GTK+3 compilant
Javier Jardón [Wed, 18 May 2011 16:18:05 +0000 (17:18 +0100)]
Little fix to make the UI GTK+3 compilant

13 years agomoonshot-window: Add "About" dialog
Javier Jardón [Tue, 17 May 2011 16:09:16 +0000 (17:09 +0100)]
moonshot-window: Add "About" dialog

13 years agomoonnshot-window: Move the "Add Id card" button to the menubar
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

13 years agomoonshot-window: Add a menubar
Javier Jardón [Tue, 17 May 2011 15:24:27 +0000 (16:24 +0100)]
moonshot-window: Add a menubar

13 years agomoonshot-window: align the services labels to the left
Javier Jardón [Mon, 16 May 2011 11:16:49 +0000 (12:16 +0100)]
moonshot-window: align the services labels to the left

13 years agoUse a table to align the list of services
Javier Jardón [Fri, 13 May 2011 12:48:50 +0000 (14:48 +0200)]
Use a table to align the list of services

13 years agomoonshot-window: Make a real 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

13 years agoMake the DBUS call async
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

13 years agoReturn the info stored in the selected Id Card
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

13 years agoAdd basic dbus implementation
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

13 years agomoonshot-window: Add accesibility labels to the search entry
Javier Jardón [Thu, 5 May 2011 16:58:26 +0000 (17:58 +0100)]
moonshot-window: Add accesibility labels to the search entry

13 years agoMark some string as translatable
Javier Jardón [Thu, 5 May 2011 16:18:19 +0000 (17:18 +0100)]
Mark some string as translatable

13 years agomoonshot-window: Add accesibility labels to the Add button
Javier Jardón [Thu, 5 May 2011 16:17:59 +0000 (17:17 +0100)]
moonshot-window: Add accesibility labels to the Add button

13 years agomoonshot-idcard-widget: Add accesibility labels to the Id Card buttons
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

13 years agoChange the format of the .gss_eap_id
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

13 years agoconfigure.ac: relax the glib dependency to 2.24
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

13 years agoconfigure.ac: Relax gettext dependencies, 0.17 is enough
Javier Jardón [Wed, 4 May 2011 23:20:29 +0000 (00:20 +0100)]
configure.ac: Relax gettext dependencies, 0.17 is enough

13 years agoconfigure.ac: Relax GTK+ dependencies: 2.20 is now the minimum version
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

13 years agoOnly use the new Stock syntax if we have vala >= 0.12
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

13 years agoGenerate a .gss_eap_id file in the home 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

13 years agoSet the issuer as "Issuer" by default for now
Javier Jardón [Wed, 4 May 2011 11:13:30 +0000 (12:13 +0100)]
Set the issuer as "Issuer" by default for now

13 years agomoonshot-window: search filter works
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

13 years agoMove the TreeModel to the MainWindow object again
Javier Jardón [Tue, 3 May 2011 14:32:39 +0000 (15:32 +0100)]
Move the TreeModel to the MainWindow object again

13 years agoUse the XDG Base Directory Specification to store the data files
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

13 years agoSave the Id Card data in the file every time we remove a Id Card
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

13 years agoSave the Id Card data in the file every time we create a new 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

13 years agomoonshot-window: load ID Cards in the startup
Javier Jardón [Tue, 3 May 2011 02:40:16 +0000 (03:40 +0100)]
moonshot-window: load ID Cards in the startup

13 years agosrc/moonshot-identities-manager: Use FileUtils instead FileStream object
Javier Jardón [Tue, 3 May 2011 02:25:42 +0000 (03:25 +0100)]
src/moonshot-identities-manager: Use FileUtils instead FileStream object

13 years agoAdd IdentityManager class
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

13 years agoOnly compute visible functin if the issuer and the search field are different to...
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

13 years agoAdd refilter call for update the filter model
Javier Jardón [Tue, 26 Apr 2011 12:15:33 +0000 (13:15 +0100)]
Add refilter call for update the filter model

13 years agoAdd a tree model filter for the search functionality
Javier Jardón [Tue, 26 Apr 2011 11:57:21 +0000 (12:57 +0100)]
Add a tree model filter for the search functionality

13 years agoMove the ListStore to the CustomVBox object
Javier Jardón [Thu, 21 Apr 2011 15:52:28 +0000 (16:52 +0100)]
Move the ListStore to the CustomVBox object

13 years agoUse a ListStore to store the data
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

13 years agomoonshot-idcard-widget: align the ID Card data on the left
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

13 years agoStore services in the ID card
Javier Jardón [Thu, 21 Apr 2011 13:46:46 +0000 (14:46 +0100)]
Store services in the ID card

13 years agoStore the logo 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

13 years agoFill the details fields when switching between ID cards
Javier Jardón [Mon, 18 Apr 2011 15:54:57 +0000 (16:54 +0100)]
Fill the details fields when switching between ID cards

13 years agoMove the details notification signal to the IdCardWidget
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

13 years agoMove the remove notification signal to the IdCardWidget
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

13 years agoPass the ID card info to the IDCardWidget constructor
Javier Jardón [Mon, 18 Apr 2011 14:55:18 +0000 (15:55 +0100)]
Pass the ID card info to the IDCardWidget constructor