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

26 Commits

Author SHA1 Message Date
Arthur Schiwon
930e1e1ce6
increase title size to 4096, and cut title and description before writing to DB 2016-08-07 12:31:44 +02:00
Arthur Schiwon
b2bc5f3c58
Fix overwrite of bookmarks when importing links without URL 2016-08-07 12:31:12 +02:00
Markus Kwaśnicki
a63955e677
Fixed PHP fatal error: Controller could not resolve namespace of Helper class. 2016-08-06 12:23:00 +02:00
Arthur Schiwon
e4bbb2277e
Backport of #246
Improve encoding detection

adjust unit test
2016-04-25 01:02:16 +02:00
Arthur Schiwon
30b7c79f4a
Do not override user-provided title when bookmarking via bookmarklet 2016-04-24 21:06:56 +02:00
Arthur Schiwon
4e6a21b940
backport of #240
use parse_url to verify dn, because filter_var has issues with special chars

Add test on adding bookmark with URL containing umlaut

Does not relate to this issue (different code path, not covered by tests
yet), but still it is a good addition.
2016-04-24 17:29:13 +02:00
HuidaeCho
07e96874a3
renameTag SQL bugfix 2016-04-16 22:51:01 +02:00
Lukas Reschke
9f76edb555 Allow iframes 2015-07-22 21:21:59 +02:00
Arthur Schiwon
74eb8a0848 fix updating of bookmarks via bookmarklet 2015-07-14 14:25:18 +02:00
Shikiryu
518b7644af Update for existing bookmark : now gets existing associated tags, fix #127 2015-07-14 14:25:18 +02:00
blizzz
c30d34cce6 Merge pull request #129 from tflidd/table-prefix
remove fixed “oc_”-prefix.
2015-04-20 13:14:51 +02:00
tflidd
fa6c922868 more ticks 2015-04-18 16:46:15 +02:00
Morris Jobke
a6d57d2a5c Merge pull request #114 from TtuxX/patch-3
Fix http / https protocol requirement.
2015-03-10 09:54:47 +01:00
TtuxX
e85ecbed55 Improve protocols regex 2015-03-09 20:31:38 +01:00
udera
8b0011b6b5 remove fixed “oc_”-prefix. 2015-02-27 18:59:29 +01:00
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
Lukas Reschke
09d0002622 Sanitize exported file properly 2015-02-02 14:02:42 +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
ganomi
0bcb107bd2 Merge pull request #109 from owncloud/FixAmazon
Fix handling of website encoding.
2014-12-27 08:03:00 +01:00
ganomi
548d0252ab Fix handling of website encoding.
Exemplary case was Amazon.de which does not have UTF-8 Encoding.
2014-12-26 21:33:25 +01:00
ganomi
46d5836da3 Fix public api when querying with no filter
add test for the case
2014-12-26 19:51:28 +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