aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
Commit message (Collapse)AuthorAgeFilesLines
* Process tag cloud page through Slim controllerArthurHoaro2020-07-233-1/+100
|
* Slim router: handle add tag routeArthurHoaro2020-07-234-3/+78
|
* Process logout through Slim controllerArthurHoaro2020-07-233-2/+52
|
* Migrate cache purge function to a proper classArthurHoaro2020-07-235-42/+54
| | | | | | And update dependencies and tests. Note that SESSION['tags'] has been removed a log ago
* Process picwall rendering through Slim controller + UTArthurHoaro2020-07-236-2/+112
|
* Fix all relative link to work with new URLArthurHoaro2020-07-231-2/+2
|
* Merge pull request #1428 from pipoprods/feat/ldap-authArthurHoaro2020-06-251-9/+70
|\
| * LDAP - Force protocol LDAPv3ArthurHoaro2020-06-251-3/+11
| | | | | | | | | | | | | | On Linux, php-ldap seems to rely on a library which still uses deprecated LDAPv2 as default version, causing authentication issues. See: https://stackoverflow.com/a/48238224/1484919
| * Update application/security/LoginManager.phpSébastien NOBILI2020-06-031-1/+6
| | | | | | Co-authored-by: ArthurHoaro <arthur@hoa.ro>
| * Update application/security/LoginManager.phpSébastien NOBILI2020-06-031-1/+1
| | | | | | Co-authored-by: ArthurHoaro <arthur@hoa.ro>
| * Update application/security/LoginManager.phpSébastien NOBILI2020-06-031-2/+4
| | | | | | Co-authored-by: ArthurHoaro <arthur@hoa.ro>
| * ldap authentication, fixes shaarli/Shaarli#1343Sébastien NOBILI2020-03-021-9/+55
| |
* | Add an exception to method 'whitelist_protocols' for url which started with '#'aguy2020-02-281-1/+1
|/ | | This is to allow local link for markdown, actually a local link write with this syntax : '[anchor](#local_link)' produce this html code: http://#local_link
* Rename ci attribute to containerArthurHoaro2020-01-262-15/+17
|
* Execute common plugin hooks before rendering login pageArthurHoaro2020-01-264-1/+45
|
* Fix all existing links and redirection to ?do=loginArthurHoaro2020-01-261-1/+1
|
* Render login page through Slim controllerArthurHoaro2020-01-269-0/+300
|
* Fix an issue with private tags and fix nomarkdown tagArthurHoaro2020-01-185-12/+53
| | | | | | | | The new bookmark service wasn't handling private tags properly. nomarkdown tag is now shown only for logged in user in bookmarks, and hidden for everyone in tag clouds/lists. Fixes #726
* Add and update unit test for the new system (Bookmark + Service)ArthurHoaro2020-01-181-2/+2
| | | | See #1307
* Apply the new system (Bookmark + Service) to the whole code baseArthurHoaro2020-01-1817-734/+287
| | | | See https://github.com/shaarli/Shaarli/issues/1307
* Introduce Bookmark object and Service layer to retrieve themArthurHoaro2020-01-1720-66/+3226
| | | | See https://github.com/shaarli/Shaarli/issues/1307 for details
* Run Unit Tests against PHP 7.4ArthurHoaro2020-01-172-0/+7
| | | | | | | | Bump PHPUnit version and fix unit test - Globals are handled differently and are persistent through tests - Tests without assertions are marked as risky: some of them are just meant to check that no error is raised.
* thumbnailer: add soundcloud.com to list of common media domainsnodiscc2019-09-211-0/+1
| | | OpenGraph thumbnails are well supported on soundcloud.com, displaying an album/track/artist cover image
* Fix RSS permalink included in Markdown blocArthurHoaro2019-09-121-1/+1
| | | | Adds another line break before inserting RSS permalink to avoid including it in markdown blocs, such as blockquote.
* Make sure that bookmark sort is consistent, even with equal timestampsArthurHoaro2019-08-071-2/+5
| | | | Fixes #1348
* Automatically retrieve description for new bookmarksArthurHoaro2019-07-062-4/+82
| | | | | | | | | | | | | | | If the option is enabled, it will try to find a meta tag containing the page description and keywords, just like we do for the page title. It will either look for regular meta tag or OpenGraph ones. The option is disabled by default. Note that keywords meta tags is mostly not used. In `configure` template, the variable associated with this setting is `$retrieve_description`. Fixes #1302
* Merge pull request #1273 from ArthurHoaro/feature/ban-managerArthurHoaro2019-05-252-86/+227
|\ | | | | Rewrite IP ban management
| * Rewrite IP ban managementArthurHoaro2019-02-092-86/+227
| | | | | | | | | | | | | | This adds a dedicated manager class to handle all ban interactions, which is instantiated and handled by LoginManager. IPs are now stored in the same format as the datastore, through FileUtils. Fixes #1032 #587
* | Merge pull request #1276 from ArthurHoaro/feature/bulk-visibilityArthurHoaro2019-04-221-0/+6
|\ \ | | | | | | Bulk action: set visibility
| * | Bulk action: set visibilityArthurHoaro2019-02-091-0/+6
| |/ | | | | | | | | | | Added 2 buttons when link checkboxes are checked to set them either public or private. Related to #572 #1160
* | Merge pull request #1272 from ArthurHoaro/feature/html-langArthurHoaro2019-03-021-0/+2
|\ \ | | | | | | Accessibility: specify the HTML lang attribute
| * | Accessibility: specify the HTML lang attributeArthurHoaro2019-02-091-0/+2
| |/ | | | | | | | | | | The lang is based on the user defined one. If the language is automatic, no language will be specified. Fixes #1216
* | Merge pull request #1271 from ArthurHoaro/hotfix/thumb-note-retrieveArthurHoaro2019-03-024-4/+17
|\ \ | | | | | | Do not try to retrieve thumbnails for internal link
| * | Do not try to retrieve thumbnails for internal linkArthurHoaro2019-02-244-4/+17
| |/ | | | | | | Also adds a helper function to determine if a link is a note and apply it across multiple files.
* | Merge pull request #1270 from ArthurHoaro/hotfix/sticky-warningArthurHoaro2019-02-241-1/+5
|\ \ | | | | | | Fix a warning if links sticky status isn't set
| * | Fix a warning if links sticky status isn't setArthurHoaro2019-02-091-1/+5
| |/ | | | | | | | | - initiate its status to false when the link is created - if not defined, initiate its status to false (can happen if the updater hasn't run)
* | Merge pull request #1269 from ArthurHoaro/feature/remove-redirectorArthurHoaro2019-02-246-64/+22
|\ \ | | | | | | Remove the redirector setting
| * | Remove the redirector settingArthurHoaro2019-02-096-64/+22
| |/ | | | | | | Fixes #1239
* / Fix thumbnails disabling if PHP GD is not installedArthurHoaro2019-02-091-1/+1
|/
* Merge pull request #1182 from ArthurHoaro/feature/session-protection-stay-loginArthurHoaro2019-02-091-0/+3
|\ | | | | Do not check the IP address with session protection disabled
| * Do not check the IP address with session protection disabledArthurHoaro2018-07-171-0/+3
| | | | | | | | | | | | This allows the user to stay logged in if his IP changes. Fixes #1106
* | Optimize and cleanup importsVirtualTam2019-01-1314-20/+12
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Plugin\PluginManagerVirtualTam2019-01-122-25/+37
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Netscape\NetscapeBookmarkUtilsVirtualTam2019-01-121-11/+16
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\RouterVirtualTam2019-01-121-21/+22
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\ApplicationUtilsVirtualTam2019-01-123-37/+42
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\UpdaterVirtualTam2019-01-124-110/+125
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: move LinkUtils along \Shaarli\Bookmark classesVirtualTam2019-01-121-2/+2
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Bookmark\LinkFilterVirtualTam2019-01-124-37/+47
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | namespacing: \Shaarli\Bookmark\LinkDBVirtualTam2019-01-1210-38/+57
| | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net>