| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-04 Chris Toshok <toshok@helixcode.com>
* backend/ebook/e-book-listener.c
(e_book_listener_queue_authentication_response): new function.
(impl_BookListener_respond_authentication_result): new function.
(e_book_listener_get_epv): fill in
epv->notifyAuthenticationResult.
* backend/ebook/e-book-listener.h: add AuthenticationResponse to
EBookListenerOperation.
* backend/ebook/e-book.c (e_book_authenticate_user): new function.
* backend/ebook/e-book.h: add prototype for
e_book_authenticate_user.
* backend/idl/addressbook.idl (GNOME:Evolution:Addressbook:Book):
add authenticateUser method.
(GNOME:Evolution:Addressbook:BookListener): add
AuthenticationFailed and AuthenticationRequired to CallStatus.
also add notifyAuthenticationResult method.
* backend/pas/pas-backend-file.c
(pas_backend_file_process_authenticate_user): dummy
authenticate_user function that always succeeds.
(pas_backend_file_process_client_requests): respond to the
AuthenticateUser request.
* backend/pas/pas-backend-ldap.c (pas_backend_ldap_build_query):
gtk_object_unref(sexp) => s_exp_unref(sexp).
(pas_backend_ldap_process_authenticate_user): fill in to use
ldap_simple_bind_s.
(pas_backend_ldap_process_client_requests): respond to the
AuthenticateUser request.
* backend/pas/pas-book.c (pas_book_queue_authenticate_user): new
function.
(impl_GNOME_Evolution_Addressbook_Book_authenticateUser): new
function.
(pas_book_respond_authenticate_user): new function.
(pas_book_get_epv): fill in epv->authenticateUser.
* backend/pas/pas-book.h: add AuthenticateUser operation type, and
add user/passwd to the PASRequest struct.
* gui/component/addressbook-storage.c
(addressbook_storage_get_source_by_uri): new function. should use
a hashtable, perhaps, but the lists will generally be small
anyway.
* gui/component/addressbook-storage.h: add prototype for
addressbook_storage_get_source_by_uri.
* gui/component/addressbook-config.c
(addressbook_source_dialog_set_source): fill in the binddn if the
auth page is shown.
* gui/component/addressbook.c (book_open_cb): shoe-horn
authentication in here. if the source was configured to use
authentication, authenticate the user after opening the ebook.
also, be paranoid and clear out the password after authenticating.
(book_auth_cb): callback for auth. set the "book" arg on the
view->view here.
(passwd_cb): set the view's passwd that'll be used in
book_open_cb.
(addressbook_view_free): g_free view->passwd.
svn path=/trunk/; revision=7265
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-30 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook-config.c (edit_source_clicked): copy
the dialog's source, destroy the dialog after we're done, and make
sure to update both columns in the clist.
(add_source_clicked): copy the dialog's source, and destroy the
dialog when we're done.
(addressbook_source_dialog_destroy): free up all the dialog's
memory.
* gui/component/addressbook.c (set_prop): allow file: uri's that
point to files, not just dirs that contain addressbook.db. The
rule is the addressbook file has to end in .db.
* gui/component/addressbook-storage.c (file_source_foreach):
contactserver => contactfile. cut and paste error.
(addressbook_storage_init_source_uri): use file://%s to build the
uri.
* gui/component/e-ldap-server-dialog.[ch]: forgot to remove these
in my last commit.
svn path=/trunk/; revision=7199
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-29 Chris Toshok <toshok@helixcode.com>
* gui/component/addressbook.c (config_cb): new function, calling
our new config ui code.
(control_activate): no longer load evolution-addressbook-ldap.xml,
as it's not there.
* gui/component/addressbook-component.c (owner_set_cb):
setup_ldap_storage => addressbook_storage_setup.
* gui/component/Makefile.am (evolution_addressbook_SOURCES):
remove e-ldap-storage.[ch] and add addressbook-storage.[ch].
(glade_DATA): remove ldap-server-dialog.glade and add
addressbook-config.glade.
(EXTRA_DIST): same.
* gui/component/addressbook-config.[ch]: add another dialog to
give a list of our sources and offer the Add/Delete/Edit
interface. This plugs into the previous dialog work (the source
editor.)
* gui/component/addressbook-storage.[ch]: new files, containing
the remains of e-ldap-storage.[ch] and adding the new
AddressbookSource type and it's subordinates. Also, the xml
format has changed slightly and the file name is no longer
~/evolution/ldap-servers.xml - it's
~/evolution/addressbook-sources.xml.
* gui/component/addressbook-config.glade: new file, new config
interface.
* gui/component/ldap-server-dialog.glade: removed.
* gui/component/e-ldap-storage.[ch]: removed.
svn path=/trunk/; revision=7198
|
|
2000-12-28 Chris Toshok <toshok@helixcode.com>
* gui/component/Makefile.am (evolution_addressbook_SOURCES): add
addressbook-config.[ch].
* gui/component/addressbook-config.c,
gui/component/addressbook-config.h: new files, containing at the
moment a beautiful "new/edit source dialog" inspired by the
mail-config-gui code. It'll be ready for prime time after rev'ing
the .xml file the addressbook uses to store it's "other sources"
to include files, and the addition of the ldap auth stuff.
svn path=/trunk/; revision=7191
|