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

682 Commits

Author SHA1 Message Date
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
Arthur Schiwon
df5efff2c2 fix database layout for sqlite3 2011-08-16 21:56:12 +02:00
Jan-Christoph Borchardt
a6c4c2c033 wording fix for bookmarks 2011-08-16 12:45:44 +02:00
Arthur Schiwon
c73fd3bac3 initial commit of Bookmarks App 2011-08-15 22:05:07 +02:00