| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
svn path=/trunk/; revision=13390
|
|
|
|
| |
svn path=/trunk/; revision=13389
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-06 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-storage.c (notify_listener): new
function, notify the bonobo listener.
(remove_ldap_folder): track change to EvolutionStorage signal.
(create_ldap_folder): same, and make sure the type is
"ldap-contacts".
(load_source_data): folders that we create should have
"ldap-contacts" as their type.
(addressbook_storage_add_source): same.
* gui/component/addressbook-component.c: (folder_types): add
"ldap-contacts", for display of ldap servers (they get their own
icon, and their own name in the Create New Folder dialog.
(create_view): use IS_CONTACT_TYPE since we support two folder
types now.
(create_folder): same.
(remove_folder): same.
(xfer_folder): same.
svn path=/trunk/; revision=12668
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* gui/component/addressbook-storage.c
(addressbook_get_other_contact_storage): s/_/U_/
* gui/widgets/e-addressbook-reflow-adapter.c (addressbook_compare):
Use g_utf8_collate.
* gui/widgets/e-minicard.c (e_minicard_compare):
Ditto.
* printing/e-contact-print.c (card_compare):
Ditto.
svn path=/trunk/; revision=12542
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-17 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-storage.h: add prototype for
addressbook_get_other_contact_storage.
* gui/component/addressbook-storage.c
(addressbook_get_other_contact_storage): rename register_storage
to this, and return the EvolutionStorage.
(load_source_data): register_storage =>
addressbook_get_other_contact_storage.
(addressbook_storage_add_source): register_storage =>
addressbook_get_other_contact_storage.
svn path=/trunk/; revision=12197
|
|
|
|
|
|
|
|
|
|
| |
2001-08-15 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-storage.c (create_ldap_folder): don't
let people add subdirs in the ldap server storage - everything is
toplevel there.
svn path=/trunk/; revision=12077
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-09 Chris Toshok <toshok@ximian.com>
[ Fixes ximian bugs #5080, #6021, #6704, #6705 ]
* gui/component/addressbook.c (book_open_cb): create our own
dialog that prompts for both the email address and the password.
the email address is stored in the source and filled in for the
user after the first time they enter one and press OK.
* gui/component/addressbook-storage.c (create_ldap_folder): has a
return value, not a int* parameter.
(create_ldap_folder): new function, we can create ldap servers
from the File->New->Folder menu item now.
(register_storage): hook up the "create_folder" signal.
(addressbook_storage_init_source_uri): remove the file case, we
only build ldap uris here.
(load_source_data): remove the file source stuff, and handle
"emailaddr".
(save_source_data): call ldap_source_foreach directly.
(addressbook_source_free): remove file source stuff.
(addressbook_source_copy): same.
* gui/component/addressbook-storage.h: get rid of all the file
source stuff from AddressbookSource, since this is only being used
for ldap servers.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_authenticate_user): look up the ldap
entry based on the provided email address and use the resulting
DN/passwd to authenticate.
* gui/component/addressbook-config.c: pretty much gutted to make
it work with the new UI.
* gui/component/addressbook-config.glade: new version from anna.
svn path=/trunk/; revision=11834
|
|
|
|
|
|
|
|
|
| |
2001-08-07 Chris Toshok <toshok@ximian.com>
* gui/component/addressbook-storage.c (remove_ldap_folder): ifdef
this HAVE_LDAP.
svn path=/trunk/; revision=11763
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-07 Chris Toshok <toshok@ximian.com>
[ Fixes bug #5066 ]
* gui/component/addressbook-storage.c (remove_ldap_folder): new
function, remove the source.
(register_storage): connect to the "remove_folder" signal so we
know when to remove the folder.
svn path=/trunk/; revision=11756
|
|
|
|
|
|
|
|
|
|
| |
2001-08-03 Jason Leach <jleach@ximian.com>
* gui/component/addressbook-storage.c (load_source_data): Update
for EvolutionStorage API changes.
(addressbook_storage_add_source): Ditto.
svn path=/trunk/; revision=11634
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-30 Jason Leach <jleach@ximian.com>
* gui/component/addressbook-storage.c (load_source_data): Fix a
return value bug, to make it so if it fails to load an
addressbook-sources.xml file (either a parse error or it doesn't
exist for example), it deregisters the storage.
(register_storage): Don't make a storage for users who don't have
LDAP support built in. Bug #1950.
svn path=/trunk/; revision=11476
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-18 Chris Toshok <toshok@ximian.com>
[ patch contributed by Jos Dehaes <jos.dehaes@bigfoot.com> ]
* gui/component/addressbook-storage.c (register_storage): new
function, register our evolution_storage.
(addressbook_storage_setup): remove storage registration from
here.
(load_source_data): register the storage here before we load
addressbook-sources.xml, and deregister it if there are no sources
listed.
(addressbook_storage_remove_source): unregister the storage if the
list of sources hits 0 length.
svn path=/trunk/; revision=11217
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-16 Chris Toshok <toshok@ximian.com>
[ Fix bug #4705 - LDAP storage gets saved with corrupted binddn]
* gui/component/addressbook-config.c (addressbook_dialog_apply):
call addressbook_storage_write_sources here after we're done
rebuilding them.
* gui/component/addressbook-storage.c
(addressbook_storage_clear_sources): don't write the source file
here.
(addressbook_storage_add_source): same.
(addressbook_storage_remove_source): same.
(addressbook_storage_write_sources): new function, write the
source file out.
(addressbook_source_copy): g_strdup the binddn so we don't end up
free'ing it multiple times thanks to copies freeing theirs.
* gui/component/addressbook-storage.h: add prototype for
address_storage_write_sources.
svn path=/trunk/; revision=11146
|
|
|
|
|
|
| |
helixcode.com with ximian.com all over the place.
svn path=/trunk/; revision=10440
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-11 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-minicard-view.c (e_minicard_view_drag_data_get):
use e_card_list_get_vcard to build up the data to send.
(e_minicard_view_init): connect to the model's drag_begin signal.
(e_minicard_view_drag_begin): gather the list of cards being
dragged and call gtk_drag_begin.
(add_to_list): new function.
(get_card_list): same.
(disconnect_signals): disconnect the drag_data_get signal.
(e_minicard_view_init): connect to the drag_begin signal on our
model.
* gui/widgets/e-minicard-view.h (struct _EMinicardView): change
drag_card to drag_list.
* gui/widgets/e-minicard-view-model.c (minicard_drag_begin): new
function, emit our drag_begin signal.
(addressbook_incarnate): connect to the item's drag_begin signal.
(e_minicard_view_model_class_init): init our drag_begin signal.
* gui/widgets/e-minicard-view-model.h: add drag_begin signal.
* gui/component/addressbook-config.c (addressbook_source_dialog):
always loop through all source types here, making LDAP first so
it's forces as the first notebook item.
(addressbook_config_auth_label): remove SASL case.
(addressbook_source_edit_changed): same.
(addressbook_source_item_new): flag the area of code that needs to
go into the advanced dialog (if we add one before someone
graciously redesigns the entire addressbook gui :)
* gui/component/addressbook-storage.c (ldap_unparse_auth): remove
SASL case.
(ldap_parse_auth): same.
* gui/component/addressbook-storage.h: make LDAP come first in our
source type enumeration, and remove the SASL auth type.
svn path=/trunk/; revision=9774
|
|
|
|
|
|
|
|
|
| |
2001-04-22 Christopher James Lahey <clahey@ximian.com>
* gui/component/addressbook-storage.c
(addressbook_storage_clear_sources): Added save_source_data here.
svn path=/trunk/; revision=9493
|
|
|
|
| |
svn path=/trunk/; revision=9191
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-04 Kjartan Maraas <kmaraas@gnome.org>
* contact-editor/e-contact-editor.[ch]: Fix headers.
* component/addressbook-storage.c: Same here.
* gui/search/e-addressbook-search-dialog.c: Same here.
* gui/widgets/e-addressbook-view.c: Same here.
* gui/widgets/e-minicard-label.c: Same here.
* gui/widgets/e-minicard-view-widget.c: Same here.
* gui/widgets/e-minicard-view.c: Same here.
* gui/widgets/e-minicard-widget-test.c: Same here.
* gui/widgets/e-minicard-widget.c: Same here.
* gui/widgets/e-minicard.c: Same here.
* gui/widgets/test-minicard-label.c: Same here.
svn path=/trunk/; revision=9179
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* *.*: Clean up #includes. Replace <gnome.h>, <bonobo.h> and
<gtk/gtk.h> with more finegrained headers where needed.
svn path=/trunk/; revision=9026
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-14 Christopher James Lahey <clahey@ximian.com>
* backend/pas/pas-backend-ldap.c: Undefine E_STRING_PROP and
E_LIST_PROP here.
* contact-editor/e-contact-editor.c,
contact-editor/e-contact-editor.h (e_contact_editor_raise): Added
this function.
* gui/widgets/e-minicard.c, gui/widgets/e-minicard.h
(e_minicard_event): Added an editor field to the EMinicard object.
Made it so that if you double click on the same card twice, it
doesn't open a new window, but instead raises the old.
2001-02-08 Iain Holmes <iain@ximian.com>
* gui/component/addressbook-storage.c (addressbook_source_free):
Free the ldap.binddn.
* gui/widgets/e-addressbook-view.c
(e_addressbook_view_setup_menus): Free the dir strings.
2001-02-08 Christopher James Lahey <clahey@ximian.com>
* contact-editor/e-contact-editor.c (categories_clicked): Set the
header on the category dialog we pop up.
svn path=/trunk/; revision=8234
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|