Commit Graph

4815 Commits

Author SHA1 Message Date
Alessandro Cosentino 1119f80300 sharing code between the two bookmarklets 2012-02-22 16:38:05 -05:00
Marvin Thomas Rabe d205a5404d Removed redundant code. 2012-02-22 16:04:32 +01:00
Marvin Thomas Rabe 2a17b5f690 Bookmarklet Window closes itself after submit. 2012-02-22 16:04:32 +01:00
Marvin Thomas Rabe 192f7bf430 UI problems solved. Bookmarks app updated. 2012-02-22 16:04:31 +01:00
Bart Visscher eb73d45b78 Bookmarks: uses the core action icons 2012-02-21 20:28:24 +01:00
Marvin Thomas Rabe 08246e2f71 Added missing files 2012-02-21 18:29:49 +01:00
Alessandro Cosentino dacffb5a06 Added bookmarklet for browser. Inspired by Google Bookmarks 2012-02-19 20:18:27 -05:00
Bart Visscher 8b3262ea20 Bookmarks: Fix image urls in bookmarks.js 2012-02-17 22:07:15 +01:00
Bart Visscher cb23990a84 Use separate function to make absolute urls 2012-02-17 22:07:14 +01:00
Tom Needham a15c4588ef Merge branch 'master' of gitorious.org:owncloud/owncloud into migration 2012-02-10 15:24:26 +00:00
Tom Needham 7016613b6e Updated Migrate_provider bookmakr implementation 2012-02-03 22:41:39 +00:00
Tom Needham 6412e7e25e load bookmarks provider class 2012-02-03 21:28:58 +00:00
Tom Needham 7ec723c753 more commenting out for debugging, added logging commands 2012-02-03 21:00:12 +00:00
Bartek Przybylski 217180c507 removing console error in safari for bookmarks 2012-02-03 21:37:09 +01:00
Tom Needham 98bcad3593 Initial migration code, and basic export for bookmarks 2012-02-03 20:32:06 +00:00
Marvin Thomas Rabe 5298331e4e Bookmark layout updated 2012-02-01 22:02:06 +01:00
Marvin Thomas Rabe e99c3d31f8 Bookmark layout updated 2012-02-01 21:19:31 +01:00
David Iwanowitsch 6ddb9c1729 fix javascript 2012-02-01 15:40:59 +01:00
David Iwanowitsch a3cb7ef548 Added searchprovider for bookmarks, initial l10n support for bookmark plugin
moved some code from updateList.php to bookmarks.php, to make it reusable
2012-02-01 15:40:59 +01:00
Tom Needham 404bb4badc Merge branch 'master' of gitorious.org:owncloud/owncloud into ace-editor 2011-11-29 22:45:26 +00:00
Tom Needham 4eefe907f0 Disable save button while saving. Streamlined code. 2011-11-29 22:11:42 +00:00
Bart Visscher 6474863f46 Bookmarks: make a soft-requirement of php-curl 2011-11-24 21:36:34 +01:00
Brice Maron cec6a0bf0a Add sequence name in insertid to be more portable 2011-10-29 11:40:48 +02:00
Bart Visscher 31f69bc00e Disable loading non-existing settings script in bookmark app 2011-10-27 22:46:52 +02:00
Brice Maron 59c8de33da Tweak bookmarklet to not change the current page. Correct encoding when add bookmark 2011-10-18 23:27:53 +02:00
Brice Maron ab65f73ab3 Fix bookmark listing with mysql: limit is binded as string. 2011-10-17 13:49:33 +02:00
Brice Maron ce035ff9cf Fix bookmarks app to work with postgresql.
Rework the bookmark app to manage postgresql.
Add a fetchOne function into the PdoStmtWrapper
Fix a tipo in comments.
2011-10-16 23:03:03 +02:00
Florian Pritz fdde7f5fbf apps/bookmarks: remove unused variable
This is not needed anymore since commit
6b64aa3faf1e94a2fc2a1e98b35418d35b73ab22.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-10-08 21:07:43 +02:00
Florian Pritz 45bd1df772 apps/bookmarks: follow redirects when fetching title
This solves a problem where hitting a redirect page would lead to a "302
Found" title.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-10-08 20:36:40 +02:00
Marvin Thomas Rabe e4a644e47d removed description. changed target to _blank. removed sorting. updated layout. 2011-10-08 13:54:45 +02:00
Marvin Thomas Rabe fff556b005 added missing files 2011-10-08 13:11:13 +02:00
Marvin Thomas Rabe e9c4865f5c moved bookmarklet to personal. username must be provided when adding a new user. 2011-10-08 13:10:49 +02:00
Weng Xuetian 6313a2cbed fix add bookmark bug. 2011-10-03 20:44:03 +08:00
Marvin Thomas Rabe 00b9526735 bookmarks are now translatable 2011-10-01 11:14:43 +02:00
Bart Visscher ee81e7ed66 Check if the application is actually enabled 2011-09-30 23:17:18 +02:00
Bart Visscher ceb4b25166 Use OC_JSON for json responses
Create OC_JSON class, for single point of creating json responses.
No real logic change, this just cleans up the code a bit.
2011-09-25 22:19:28 +02:00
Florian Pritz a36d38f2e4 apps/bookmarks: use curl instead of file_get_contents
Don't depend on allow_url_fopen being enabled when we already use curl
elsewhere in the code.

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-09-24 18:41:57 +02:00
Florian Pritz 619ff59236 fix apps/bookmarks if oc_bookmarks_tags is empty
If you have bookmarks, but there are no tags in oc_bookmarks_tags, the
query doesn't return any results. Using a left join fixes this.

Reference:
http://stackoverflow.com/questions/3171276/select-multiple-tables-when-one-table-is-empty-in-mysql

Signed-off-by: Florian Pritz <bluewind@xinu.at>
2011-09-24 18:41:56 +02:00
Bart Visscher 70208c5b92 Move some common code to OC_Util
Created the following function:
 - checkLoggedIn
 - checkAdminUser
 - redirectToDefaultPage
2011-09-18 21:31:56 +02:00
Golnaz Nilieh 5de34c29c8 Add link and other edit information to newly added bookmarks. 2011-09-13 16:10:52 +04:30
Golnaz Nilieh edea6ac06f Add support of editing bookmarks. 2011-09-13 15:40:09 +04:30
Bart Visscher fb38b59293 Use OC_Helper::linkTo also for absolute urls.
One central place to check for https.
2011-09-09 22:19:15 +02:00
Golnaz Nilieh ed14402cda Use an animated gif in add-bookmark form, while fetching metadata. 2011-09-06 17:13:03 +04:30
Golnaz Nilieh 3f2f29d334 Don't clear bookmark description field, If it is empty in bookmark metadata. 2011-09-06 16:13:23 +04:30
Arthur Schiwon b5e47ae36f fix: links with parameters get cut off at & 2011-08-25 13:51:48 +02:00
Arthur Schiwon e5681311b8 fix: URLs without protocol are now linked to via HTTP 2011-08-25 13:23:52 +02:00
Arthur Schiwon 99ee2fe615 Make bookmarks sortable by clicks 2011-08-25 12:55:13 +02:00
Arthur Schiwon 2181f70a14 Make appeareance of the bookmarklet a bit nicer, still room for improvement left 2011-08-25 12:15:03 +02:00
Arthur Schiwon a5de19f523 Added a Bookmarklet for the Bookmarks app 2011-08-24 22:16:44 +02:00
Arthur Schiwon e875cde1a2 check if tag is set, might not show bookmarks on some systems without doing so 2011-08-24 14:36:03 +02:00