1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-01-21 17:52:10 +01:00

7 Commits

Author SHA1 Message Date
TtuxX
bc1b9daa1d Fix protocol cut off + Attempt URL https upgrade
- Fix protocol cut off bug
- Automatically attemps to upgrade existing URL from http to https if user add it a second time to bookmarks application (without specifying protocol)
2015-02-14 17:01:41 +01:00
TtuxX
0c1a52e4d5 Check if URL already exists before adding
Changed the way `addBookmark` function checks if url already exists.

Now the `addBookmark` function checks wether the url one want to bookmark exists or not, independantly from its protocol.

In order to achieve this, the script :
- Removes everything from the url before the `://` part (included)
- Uses a `like` statement in the SQL query instead of `=`
- Adds a `%` to the url at the query execution
2015-01-05 22:22:43 +01:00
TtuxX
b6048dd3a8 Update bookmarkcontroller.php 2015-01-05 18:50:32 +01:00
TtuxX
a08b252564 Update bookmarkcontroller.php 2014-12-26 13:53:53 +01:00
TtuxX
e6dcb38e25 Fix http / https protocol requirement
Fix the http / https prefix requirement when adding a bookmark by :
1 - Constructing URLs for both protocols,
2 - Retrieving both pages titles,
3 - Choosing the one which works, with a systematic preference for https.
2014-12-26 13:14:13 +01:00
TtuxX
a35e9d9c39 Remove the bookmark tags display limit
Set the limit from 10 (original default value) to -1 (load all the tags you ever created)
2014-12-09 00:19:08 +01:00
ganomi
ae81b9dcd2 This is a refactored / rewritten version of the bookmarks app using the app frameworks design and controller features.
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.

There is a publicly available api that provides access to bookmarks per user.
(This is usefull in connection with the WP Plugin https://github.com/mario-nolte/oc2wp-bookmarks)
2014-11-26 12:24:18 +01:00