1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2024-11-28 04:24:09 +01:00
Bookmark app for ownCloud
Go to file
2016-08-06 01:10:10 +02:00
appinfo increase title size to 4096, and cut title and description before writing to DB 2016-08-06 01:10:10 +02:00
controller increase title size to 4096, and cut title and description before writing to DB 2016-08-06 01:10:10 +02:00
css use proper inline style for bookmark add button and feedback 2015-07-10 14:26:22 +02:00
img This is a refactored / rewritten version of the bookmarks app using the app frameworks design and controller features. 2014-11-26 12:24:18 +01:00
js Per PR suggestion added a dialog indicating that bookmark was successfully 2015-11-05 19:15:23 +01:00
l10n [tx-robot] updated from transifex 2016-07-19 02:10:44 -04:00
templates fix updating of bookmarks via bookmarklet 2015-07-14 14:25:18 +02:00
tests adjust unit test 2016-04-24 22:09:35 +02:00
.scrutinizer.yml Update .scrutinizer.yml 2015-07-14 14:27:09 +02:00
.travis.yml Add PHP 7 to test matrix 2015-12-17 16:56:28 +01:00
CONTRIBUTING.md Add CONTRIBUTING.md 2015-07-08 22:14:52 +02:00
COPYING This is a refactored / rewritten version of the bookmarks app using the app frameworks design and controller features. 2014-11-26 12:24:18 +01:00
issue_template.md Shamelessly copy issue template from core 2016-04-17 22:58:11 +02:00
README.md This is a refactored / rewritten version of the bookmarks app using the app frameworks design and controller features. 2014-11-26 12:24:18 +01:00

Bookmarks app

Maintainers:

Developer setup info:

Installation:

Just clone this repo into one of your apps directory.

Status :

Rewrite by [Stefan Klemm] aka ganomi (https://github.com/ganomi)

  • This is a refactored / rewritten version of the bookmarks app using the app framework
  • Dependency Injection for user and db is used througout the controllers
  • The Routing features a consistent rest api
  • The Routing provides some legacy routes, so that for exampe the Android Bookmarks App still works.
  • Merged all the changes from https://github.com/owncloud/bookmarks/pull/68 and added visual fixes. App uses the App Framework Styling on the Client side now.

There is a publicly available api that provides access to bookmarks per user. (This is usefull in connection with the Wordpress Plugin https://github.com/mario-nolte/oc2wp-bookmarks)

Public Rest Api (JSON Formatting):

Example Url:

../apps/bookmarks/public/rest/v1/bookmark?user=username&password=password&tags[]=firsttag&tags[]=anothertag&select[]=description&conjunction=AND&sortby=description

Parameters:

  • user is a mandatory parameter. This will return all bookmarks from the specific user marked as public. (not yet possible!)
  • by providing the users password all bookmarks will be returned
  • tags[] can take multiple arguments and they are used to filter the requested bookmarks by tags
  • conjunction (default = or) sets the tag filter to OR or to AND
  • select[] takes multiple arguments. By default only url and title per bookmark are returned. Further you can select any attribute of the bookmarks table and also the attribute "tags"
  • sortby takes and attribute that results will be sorted by descending.