1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-12-04 08:24:10 +01:00
Commit Graph

503 Commits

Author SHA1 Message Date
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
Arthur Schiwon
c51960f944 autoretrieve title and description after entering new url 2011-08-23 16:30:55 +02:00
Arthur Schiwon
6d7dd830e9 autoretrieve title and description after entering new url 2011-08-23 16:30:29 +02:00
Arthur Schiwon
001533bf81 Bookmarks DB structure change, description is optional 2011-08-23 15:24:44 +02:00
Arthur Schiwon
a515bf3c05 fetch bookmarks even if they are not tagged 2011-08-23 15:12:34 +02:00
Arthur Schiwon
39561f6460 follow coding style and use single quotes in php 2011-08-23 12:03:20 +02:00
Arthur Schiwon
57433ca09e simplify bookmarks tag filter sql 2011-08-23 11:57:56 +02:00
Arthur Schiwon
508e56fa9f make tag filter compatible with sqlite 2011-08-23 11:43:27 +02:00
Golnaz Nilieh
2c9d4bb403 When deleting a bookmark, remove its tags from database. 2011-08-20 12:38:15 +04:30
Golnaz Nilieh
00d398a549 * Use encodeEntities() function to check input
* Separate tags by space
2011-08-19 16:18:08 +04:30
Golnaz Nilieh
6c1da6a7f7 Show new bookmark in the list after insertion, And hide it after deletion. 2011-08-19 13:30:05 +04:30
Arthur Schiwon
7193ae98f2 really open website after click 2011-08-16 23:50:46 +02:00
Arthur Schiwon
8656e0c906 gain compatibility with sqlite3 2011-08-16 23:49:53 +02:00