Jörn Friedrich Dreyer
f7bdc57888
remove superfluous ?> at the end of .php files (left out apps/*/templates)
2012-07-09 16:51:16 +02:00
Thomas Tanghus
a78b7f6bc8
Move code to OC_Contacts_App::scanCategories().
2012-07-09 00:15:37 +02:00
Thomas Tanghus
eb261de292
Add missing requesttoken.
2012-07-08 14:48:49 +02:00
Thomas Tanghus
2028f4d3e0
Add missing requesttoken.
2012-07-08 13:28:12 +02:00
Thomas Tanghus
d08ea43b81
Correct hack ;)
2012-07-06 12:59:07 +02:00
Thomas Tanghus
f49a8a6be6
Fugly fixed include.
2012-07-06 12:59:07 +02:00
Thomas Tanghus
bb68611cff
Add missing CSRF check.
2012-07-05 00:37:08 +02:00
Thomas Tanghus
b02c25fba2
Smoother profile picture loading - hopefully.
2012-06-28 01:46:33 +02:00
Thomas Tanghus
9e0f6bd612
Load contactlist progressivly.
2012-06-27 22:44:28 +02:00
Thomas Tanghus
074406a7f0
Add check for return value.
2012-06-27 02:12:53 +02:00
Thomas Tanghus
fb0d6cf7f7
Added missing requesttoken.
2012-06-26 18:15:24 +02:00
Thomas Tanghus
07cafbba53
Try to conserve some memory. Should fix oc-1106 for master.
2012-06-25 17:26:44 +02:00
Thomas Tanghus
0e415f6e0b
Try to conserve some memory. Should fix oc-1106 for stable4.
2012-06-25 17:16:34 +02:00
Thomas Tanghus
842c758485
Missing requesttoken.
2012-06-25 17:15:33 +02:00
Thomas Tanghus
dade89d400
Select which address book to add a contact to. Fixes oc-1071.
2012-06-25 16:21:29 +02:00
Thomas Tanghus
f4defb845c
Drag'n'Drop contacts between addressbook. Still needs some css magic.
2012-06-25 03:42:27 +02:00
Thomas Tanghus
69dac3a41f
Remove excessive debugging.
2012-06-24 22:25:32 +02:00
Thomas Tanghus
e22b5f0211
Add some DRYness to logging.
2012-06-24 22:25:32 +02:00
Thomas Tanghus
b3b67ab2cb
More changes for updating the contacts list.
2012-06-20 21:00:49 +02:00
Thomas Tanghus
a82a4e467b
Make sure address books are shown even if empty.
2012-06-20 21:00:49 +02:00
Thomas Tanghus
fce46bbe95
Use uasort instead of usort.
2012-06-17 21:50:49 +02:00
Thomas Tanghus
085be8dc4b
Sort addressbooks.
2012-06-17 21:47:15 +02:00
Thomas Tanghus
13f2fcee23
Make the parsing in the controller, not in the template. Assign only relevant entries to the template.
2012-06-17 20:25:32 +02:00
Stephan Bergemann
d621126f11
now a little less in template - more in ajax controller
2012-06-17 20:25:32 +02:00
Thomas Tanghus
3669f9df17
Fix char encoding.
2012-06-16 18:38:20 +02:00
Thomas Tanghus
1c479a740e
Fix string encoding probs.
2012-06-16 18:06:47 +02:00
Thomas Tanghus
d575d12c24
Remove debug statements.
2012-06-14 18:03:50 +02:00
Thomas Tanghus
160d641dc3
Contacts: Implement CSRF prevention.
2012-06-14 18:00:13 +02:00
Thomas Tanghus
df9ccd137d
Remove debug statements.
2012-06-13 18:57:12 +02:00
Thomas Tanghus
aa73a32b89
Contacts: implemented CSRF prevention.
2012-06-13 17:35:42 +02:00
Thomas Tanghus
e80c624817
Contacts: Fix NOTE also on add, not just save.
2012-06-11 12:56:41 +02:00
Thomas Tanghus
0101088e95
Contacts: Fix NOTE also on add, not just save.
2012-06-11 12:55:54 +02:00
Thomas Tanghus
8bcb231022
Code cleanup.
2012-06-09 15:04:08 +02:00
Thomas Tanghus
3c07de4db6
Contacts: Use POST instead of GET.
2012-06-09 15:02:23 +02:00
Thomas Tanghus
587e16b51d
Contacts: Use POST instead of GET.
2012-06-09 15:00:44 +02:00
Thomas Tanghus
7e5dca2468
Code cleanup.
2012-06-09 15:00:44 +02:00
Thomas Tanghus
b6127898de
Don't fix bugs not present in this branch ;-)
2012-06-08 20:44:58 +02:00
Thomas Tanghus
b1dfc19797
Contacts: Closed stupid XSS hole. Thanks AnybodyElse ;-)
...
Conflicts:
apps/contacts/ajax/uploadphoto.php
2012-06-08 20:43:42 +02:00
Thomas Tanghus
00167a480c
Contacts: Closed stupid XSS hole. Thanks AnybodyElse ;-)
2012-06-08 20:39:54 +02:00
Thomas Tanghus
84975f6f7c
Contacts: Make js a tad DRYer. Added URL property.
2012-06-06 15:29:33 +02:00
Thomas Tanghus
6daf7c9e68
Cleanup.
2012-06-06 01:06:13 +02:00
Thomas Tanghus
060b45fe2b
Also use OC_Cache here.
2012-06-06 01:06:13 +02:00
Thomas Tanghus
65c6178e73
Contacts: Removed temp dir cleanup after using OC_Cache.
2012-06-06 01:06:12 +02:00
Thomas Tanghus
74f8aa9622
Use UID for cache key.
2012-06-05 21:20:10 +02:00
Thomas Tanghus
58dff33314
Contacts: Use OC_Cache for contact photo handling instead of temp dir.
2012-06-05 20:34:12 +02:00
Thomas Tanghus
7784120db4
Contacts: Make tmp file cleaup a bit safer.
2012-06-04 13:38:37 +02:00
Thomas Tanghus
2e8e4d8a56
Contacts: Temporary files weren't deleted if crop window was closed without saving.
2012-06-04 13:14:31 +02:00
Frank Karlitschek
674c908860
don´t hardcode /tmp
2012-05-30 14:18:47 +02:00
Frank Karlitschek
9fb7efb272
don´t hardcode /tmp
2012-05-30 14:14:32 +02:00
Thomas Tanghus
62fcbde026
Forgot a break.
2012-05-29 16:46:54 +02:00
Thomas Tanghus
f45cccfc0a
Contacts: NOTE wasn't saved properly.
2012-05-29 16:45:52 +02:00
Thomas Tanghus
741db210af
Contacts: NOTE wasn't saved properly.
2012-05-29 16:43:59 +02:00
Thomas Tanghus
2fd9d16147
Contacts: Improve loading and cleanup of dialogs.
2012-05-29 16:43:59 +02:00
Georg Ehrke
c2a1821393
some fixes for contacts, gallery and openid
2012-05-19 15:22:21 +02:00
Frank Karlitschek
a729320f3c
getStorage belongs to files not to apps.
2012-05-19 10:44:08 +02:00
Thomas Mueller
39f99602bf
removing executable bit - again
2012-05-15 00:52:00 +02:00
Thomas Tanghus
ac84d328e5
Contacts: Also strip parameters.
2012-05-11 18:21:55 +02:00
Thomas Tanghus
f9aa628ecd
Contacts: Fix some regressions from last commit.
2012-05-10 20:44:12 +02:00
Thomas Tanghus
bbb3cd0d18
Some UI and code restructering according to usability tests: https://mail.kde.org/pipermail/owncloud/2012-May/003194.html
2012-05-10 16:53:25 +02:00
Frank Karlitschek
68d86fadc7
ported the oc_template class
2012-05-06 23:00:36 +02:00
Thomas Tanghus
e914a14f1d
Contacts: Fixed paths in import.
2012-05-03 16:01:40 +02:00
Frank Karlitschek
0343af38fd
ported oc_json
2012-05-03 12:23:29 +02:00
Thomas Tanghus
07820c10ba
Contacts: Don't resize profile picture if it's not too big.
2012-05-03 11:15:44 +02:00
Frank Karlitschek
9d7b02c9dc
port checkAppEnabled
2012-05-02 19:08:37 +02:00
Thomas Tanghus
f508ad3d9d
Contacts: Removed styling and (most) js from template. Started making app more keyboard/screenreader friendly. General cleanup in code and markup.
2012-05-02 12:10:44 +02:00
Frank Karlitschek
b2f19f3a7f
ported the oc_app calls
2012-05-02 00:50:26 +02:00
Frank Karlitschek
fe55806527
ported the rest of the OC_Helper calls
2012-05-02 00:20:45 +02:00
Frank Karlitschek
a3dc9e8b2a
ported getUser
2012-05-01 18:50:31 +02:00
Frank Karlitschek
26930d0d83
finish porting of the LOG calls or the apps to the public api
2012-05-01 17:38:27 +02:00
Thomas Tanghus
97e65da810
Various file path fixes.
2012-04-30 01:48:01 +02:00
Thomas Tanghus
82a2011dc2
Contacts: Ensure TYPE parameters on email aren't deleted on edit. They are still not shown in the UI.
...
Remove an obsolute file and did some cleanup.
2012-04-29 22:12:27 +02:00
Thomas Tanghus
20734b60a9
Contacts: removed unused method and ajax file.
2012-04-29 22:12:27 +02:00
Georg Ehrke
849099d724
fix merge conflicts
2012-04-26 18:08:49 +02:00
Thomas Tanghus
f01fc2e855
Contacts: Added import with with file picker.
2012-04-26 03:21:52 +02:00
Georg Ehrke
bb9a090659
fix merge conflicts
2012-04-24 21:59:56 +02:00
Thomas Tanghus
e4eef8a698
Contacts: In app import (for Chrome and Firefox only)
2012-04-24 01:44:07 +02:00
Thomas Tanghus
b543d03321
Contacts: In app import. Cleanup still needed.
2012-04-24 01:44:07 +02:00
Georg Ehrke
c6a0be939b
Merge branch 'master' into movable_apps
2012-04-23 13:03:50 +02:00
Thomas Tanghus
4f5f6aff6a
Contacts:
...
- Added overlay toolbar to contact photo with 'Delete current', 'Edit current', 'Load from OC_Filesystem' and 'Upload' options.
- Made action icons translucent instead of hiding them.
2012-04-22 20:47:24 +02:00
Thomas Tanghus
3f932e2a26
Contacts: Clear cache for contact photo and thumbnail when it has been changed.
2012-04-22 20:47:24 +02:00
Georg Ehrke
9e345d3bfc
fix merge conflicts
2012-04-22 13:19:12 +02:00
Thomas Tanghus
db23d88dfd
Contacts: Fix error on photo crop.
2012-04-22 01:50:46 +02:00
Georg Ehrke
3863a44589
remove the require_once lib base from all (or nearly all) files
2012-04-17 19:31:29 +02:00
Jakob Sack
be2524b353
Display correct URL in caldav and carddav paths
2012-04-15 16:50:45 +02:00
Bart Visscher
b354c4c77e
Contacts: Move use of OC_Contacts_App::$categories to inside of OC_Contacts_App
...
This is in preparation of making $categories protected and initialized
with default categories.
2012-04-12 23:10:49 +02:00
Bart Visscher
221c1fd5e8
Contacts: Don't lowercase categories value when saving
2012-04-10 21:19:39 +02:00
Thomas Tanghus
29a4ffb730
Contacts: Fix for not being able to add contact to empty/non-existant address book.
2012-04-09 16:30:58 +02:00
Thomas Tanghus
84c0d5bea6
Contacts: Misc. cleanup tweaks.
2012-04-07 16:03:43 +02:00
Thomas Tanghus
53161bdb77
Contacts: First work on cleaner design.
2012-04-03 03:29:12 +02:00
Thomas Tanghus
1542d6c318
Improve actions on delete.
2012-03-29 15:25:24 +02:00
Thomas Tanghus
adb118a3a2
Small change and muting debug.
2012-03-26 22:26:06 +02:00
Thomas Tanghus
7221ff525b
Check for empty value.
...
Added missing classes on action icons.
2012-03-26 22:08:03 +02:00
Bart Visscher
035e128bd2
Contacts: Fix saveproperty for categories
2012-03-26 21:47:37 +02:00
Thomas Tanghus
1b25ac1555
Removed obsolete code.
2012-03-26 19:13:48 +02:00
Thomas Tanghus
519c3e0509
Make PHOTO deletable.
2012-03-13 14:56:03 +01:00
Thomas Tanghus
2eae578367
Cleanup in Contacts.
2012-03-13 00:55:15 +01:00
Thomas Tanghus
13a1583f8b
Force load profile pic after edit hack.
2012-03-12 21:56:28 +01:00
Thomas Tanghus
d1dc4f23c6
Rename...
2012-03-12 16:47:29 +01:00
Thomas Tanghus
bb05cb70f3
More modifications for using jquery.multiple_autocomplete.
2012-03-12 16:44:16 +01:00
Thomas Tanghus
7b00319bae
Contacts: Modifications for using categories.
2012-03-12 14:13:03 +01:00
Thomas Tanghus
37ce038d46
Yet a missing file :-P
2012-03-09 13:56:20 +01:00
Thomas Tanghus
3f78a641f7
Merge branch 'vcategories'
2012-03-09 10:29:58 +01:00
Thomas Tanghus
4498b9a9cc
Add missing file.
2012-03-09 07:39:35 +01:00
Thomas Tanghus
d005c9123b
Merge branch 'vcategories' of gitorious.org:owncloud/owncloud into vcategories
...
Conflicts:
apps/contacts/lib/vcard.php
apps/contacts/templates/part.contact.php
2012-03-08 02:55:48 +01:00
Thomas Tanghus
279fc58088
Merge gitorious.org:owncloud/owncloud into vcategories
...
Conflicts:
apps/contacts/ajax/saveproperty.php
apps/contacts/lib/vcard.php
2012-03-07 23:38:44 +01:00
Bart Visscher
be94d7caf3
Contacts: Add UI for categories
2012-03-07 21:50:55 +01:00
Bart Visscher
3dc6e658fe
Contacts: small fixes and cleanups
2012-03-07 21:46:42 +01:00
Bart Visscher
c8598c3df1
Contacts: change card parameter type of VCard::edit and VCard::add
...
changed to OC_VObject
2012-03-07 21:46:42 +01:00
Thomas Tanghus
80ce69e089
Contacts: UI updates and ajax methods for categories.
2012-03-07 16:39:56 +01:00
Thomas Tanghus
b35e47ecd5
Translate and fix copy/paste error.
2012-02-22 14:19:23 +01:00
Thomas Tanghus
ec6be92253
Remove my FIXME comments when I've fixed it :-P
2012-02-21 23:22:06 +01:00
Thomas Tanghus
16702e97c0
Contacts: Fix adding/updating address book with empty name.
2012-02-20 15:24:54 +01:00
Thomas Tanghus
b4783d63a6
Contacts: Apply strip_tags on compound values.
2012-02-20 14:36:21 +01:00
Thomas Tanghus
0bb56a04c8
Added some fixes for what to show when address books are (de)selected, all contacts deleted etc. Still need some cleaning up.
2012-02-14 13:57:11 +01:00
Thomas Tanghus
280eb33f15
Added some check for when addinf deleting contacts.
2012-02-14 10:36:22 +01:00
Bart Visscher
0b0782697a
Contacts: cleanup OC_L10N usage
2012-02-12 16:11:41 +01:00
Bart Visscher
217a5a2aff
Contacts: Move debug logging of $_POST to after access checks
2012-02-12 15:58:55 +01:00
Bart Visscher
670df9a5fe
Contacts: Document usage of OC_Contacts_App::getAddressbook
...
Remove redundant access checks and add comments to the calls to
OC_Contacts_App::getAddressbook that are access checks
2012-02-12 15:55:36 +01:00
Bart Visscher
47950f1d34
Access check fix in contacts/ajax/activation.php
...
plus small cleanup
2012-02-12 15:14:24 +01:00
Thomas Tanghus
bcd1470ea9
Keep js data structure in sync on changes.
...
More checks for missing properties.
2012-02-09 19:04:07 +01:00
Thomas Tanghus
1e4f4f7cfd
More @£#¤ conflicts
...
Merge branch 'temp' into tanghus_contacts
2012-02-08 09:36:16 +01:00
Thomas Tanghus
2b171a2b55
Added files for new contact editor/viewer.
2012-02-08 09:14:10 +01:00
Thomas Tanghus
ba1d4a8d18
Fixed broken "Add new" contact.
...
Possible fix for cards with missing 'FN' property added through DAV.
Misc. UI cleanups.
2012-02-08 08:47:03 +01:00
Thomas Tanghus
ff18dd34c3
Updated copyrights.
...
Element menu didn't update.
2012-02-08 08:47:03 +01:00
Thomas Tanghus
ad71a024a1
Added files for new contact editor/viewer.
2012-02-08 08:47:03 +01:00
Thomas Tanghus
55ac10e335
Merge branch 'tanghus_contacts' of gitorious.org:owncloud/owncloud into tanghus_contacts
...
Conflicts:
apps/contacts/ajax/contactdetails.php
apps/contacts/js/contacts.js
2012-02-08 08:33:51 +01:00
Thomas Tanghus
ab6a5fe76d
Don't import cards that can't be parsed by Sabre, but log it instead.
...
Fix missing 'N' or 'FN' fields on import.
2012-02-08 07:59:39 +01:00
Thomas Tanghus
f1f05f9f2f
Some fixes for malformed VCards.
2012-02-08 07:59:39 +01:00
Thomas Tanghus
3ebfa257a9
Fixed broken "Add new" contact.
...
Possible fix for cards with missing 'FN' property added through DAV.
Misc. UI cleanups.
2012-02-08 07:59:39 +01:00
Thomas Tanghus
5356a83219
Updated copyrights.
...
Element menu didn't update.
2012-02-08 07:59:39 +01:00
Thomas Tanghus
27963f2983
Added files for new contact editor/viewer.
2012-02-08 07:59:39 +01:00
Thomas Tanghus
7f2d38eb3e
Fixed broken "Add new" contact.
...
Possible fix for cards with missing 'FN' property added through DAV.
Misc. UI cleanups.
2012-02-06 14:18:40 +01:00
Thomas Tanghus
745766de1c
Updated copyrights.
...
Element menu didn't update.
2012-02-06 08:04:06 +01:00
Thomas Tanghus
d9d6df5169
Added files for new contact editor/viewer.
2012-02-06 07:32:57 +01:00
Thomas Tanghus
4841adaa6a
Modification for adding photos.
2012-02-06 07:24:39 +01:00
Georg Ehrke
0e1b92aafd
add import function for contacts
2012-02-05 12:13:53 +01:00
Thomas Tanghus
87a69f28d1
More in-/output sanitation,
2012-02-02 17:54:30 +01:00
Thomas Tanghus
0736279271
Sanitize in- and output.
2012-02-02 17:54:30 +01:00
Thomas Tanghus
cafc5877b8
- Fixed http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-93
...
Property was added multiple times.
- Fixed http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-8
"Missing "N" field: Contacts app not compatible with vcard 3.0 format"
- Almost sure I've fixed http://bugs.owncloud.org/thebuggenie/owncloud/issues/oc-27
"Full name in Contacts app doesn't sync to iOS 5 contacts" because it is caused by oc-8
2012-01-31 19:30:56 +01:00
Thomas Tanghus
54e4f12857
Some reminders in the code of what I have to change post OC3.0
2012-01-31 19:30:56 +01:00
Thomas Tanghus
10235f28a2
UI fixes in contact editor and address book dialog.
...
Error checking in ajax methods.
Localize menu entry.
2012-01-19 16:07:17 +01:00
Thomas Tanghus
2859f5d607
Don't add address if none of the fields are filled out.
2012-01-12 02:39:33 +01:00
Thomas Tanghus
56c1d9ee54
Localizin strings and adding error checking.
2012-01-11 20:07:15 +01:00
Thomas Tanghus
57f9a00ccf
Added files for error messages, removed old syle sheet.
2012-01-11 04:05:30 +01:00
Thomas Tanghus
3702428369
CSS cleanup, more error checking, better error messages, general cleanup.
2012-01-11 04:05:30 +01:00
Thomas Tanghus
6a85d92dfe
Added missing }
2012-01-11 04:05:29 +01:00
Thomas Tanghus
253e0474e6
More fixes on saving TYPE parameters.
...
Use jQuery Dialog for error messages instead of alert()
2012-01-10 14:59:31 +01:00
Thomas Tanghus
7ccda1eb9f
Fixed Phone types not being saved correctly when adding them.
2012-01-09 20:38:06 +01:00
Thomas Tanghus
35b3b8756e
Changed SQL queries for looking up contacts to only query once and sort at the same time.
2012-01-09 20:38:05 +01:00
Thomas Tanghus
a3bbcb16d2
Added license and waiver of conditions for jquery.inview.
...
CSS fix on contact list.
Query contacts from multiple address books.
2011-12-30 21:07:16 +01:00