aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
Commit message (Collapse)AuthorAgeFilesLines
* Process change visibility action through Slim controllerArthurHoaro2020-07-231-1/+69
|
* Improve ManageTagController coverage and error handlingArthurHoaro2020-07-231-12/+32
|
* Use multi-level routes for existing controllers instead of 1 level everywhereArthurHoaro2020-07-2311-41/+56
| | | | Also prefix most admin routes with /admin/
* Explicitly define base and asset path in templatesArthurHoaro2020-07-234-1/+21
| | | | | | | With the new routes, all pages are not all at the same folder level anymore (e.g. /shaare and /shaare/123), so we can't just use './' everywhere. The most consistent way to handle this is to prefix all path with the proper variable, and handle the actual path in controllers.
* Handle shaare creation/edition/deletion through Slim controllersArthurHoaro2020-07-2311-115/+432
|
* Process manage tags page through Slim controllerArthurHoaro2020-07-232-1/+88
|
* Process configure page through Slim controllerArthurHoaro2020-07-232-0/+124
|
* Test ShaarliAdminControllerArthurHoaro2020-07-231-1/+3
|
* Process password change controller through SlimArthurHoaro2020-07-238-7/+230
|
* Process tools page through Slim controllerArthurHoaro2020-07-231-0/+49
|
* Initialize admin Slim controllersArthurHoaro2020-07-2316-50/+76
| | | | | | - Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links
* Process session filters through Slim controllersArthurHoaro2020-07-233-0/+157
| | | | | | | Including: - visibility - links per page - untagged only
* Process remove tag endpoint through Slim controllerArthurHoaro2020-07-231-1/+47
|
* Process OpenSearch controller through SlimArthurHoaro2020-07-231-0/+28
| | | | Also it was missing on the default template feeds
* RSS/ATOM feeds: process through Slim controllerArthurHoaro2020-07-235-1/+106
|
* Make FeedBuilder instance creation independant of the request stackArthurHoaro2020-07-231-73/+66
|
* Process Daily RSS feed through Slim controllerArthurHoaro2020-07-237-15/+115
| | | | The daily RSS template has been entirely rewritten to handle the whole feed through the template engine.
* Slim daily: minor bugfix with empty dataArthurHoaro2020-07-231-12/+6
|
* Process daily page through Slim controllerArthurHoaro2020-07-233-5/+147
|
* Process tag list page through Slim controllerArthurHoaro2020-07-231-11/+48
|
* Few optimizations and code readability for tag cloud controllerArthurHoaro2020-07-231-21/+31
|
* Handle tag filtering in the Bookmark serviceArthurHoaro2020-07-232-3/+1
|
* 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