Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use multi-level routes for existing controllers instead of 1 level everywhere | ArthurHoaro | 2020-07-23 | 11 | -41/+56 |
| | | | | Also prefix most admin routes with /admin/ | ||||
* | Explicitly define base and asset path in templates | ArthurHoaro | 2020-07-23 | 4 | -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 controllers | ArthurHoaro | 2020-07-23 | 11 | -115/+432 |
| | |||||
* | Process manage tags page through Slim controller | ArthurHoaro | 2020-07-23 | 2 | -1/+88 |
| | |||||
* | Process configure page through Slim controller | ArthurHoaro | 2020-07-23 | 2 | -0/+124 |
| | |||||
* | Test ShaarliAdminController | ArthurHoaro | 2020-07-23 | 1 | -1/+3 |
| | |||||
* | Process password change controller through Slim | ArthurHoaro | 2020-07-23 | 8 | -7/+230 |
| | |||||
* | Process tools page through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -0/+49 |
| | |||||
* | Initialize admin Slim controllers | ArthurHoaro | 2020-07-23 | 16 | -50/+76 |
| | | | | | | - Reorganize visitor controllers - Fix redirection with Slim's requests base path - Fix daily links | ||||
* | Process session filters through Slim controllers | ArthurHoaro | 2020-07-23 | 3 | -0/+157 |
| | | | | | | | Including: - visibility - links per page - untagged only | ||||
* | Process remove tag endpoint through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -1/+47 |
| | |||||
* | Process OpenSearch controller through Slim | ArthurHoaro | 2020-07-23 | 1 | -0/+28 |
| | | | | Also it was missing on the default template feeds | ||||
* | RSS/ATOM feeds: process through Slim controller | ArthurHoaro | 2020-07-23 | 5 | -1/+106 |
| | |||||
* | Make FeedBuilder instance creation independant of the request stack | ArthurHoaro | 2020-07-23 | 1 | -73/+66 |
| | |||||
* | Process Daily RSS feed through Slim controller | ArthurHoaro | 2020-07-23 | 7 | -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 data | ArthurHoaro | 2020-07-23 | 1 | -12/+6 |
| | |||||
* | Process daily page through Slim controller | ArthurHoaro | 2020-07-23 | 3 | -5/+147 |
| | |||||
* | Process tag list page through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -11/+48 |
| | |||||
* | Few optimizations and code readability for tag cloud controller | ArthurHoaro | 2020-07-23 | 1 | -21/+31 |
| | |||||
* | Handle tag filtering in the Bookmark service | ArthurHoaro | 2020-07-23 | 2 | -3/+1 |
| | |||||
* | Process tag cloud page through Slim controller | ArthurHoaro | 2020-07-23 | 3 | -1/+100 |
| | |||||
* | Slim router: handle add tag route | ArthurHoaro | 2020-07-23 | 4 | -3/+78 |
| | |||||
* | Process logout through Slim controller | ArthurHoaro | 2020-07-23 | 3 | -2/+52 |
| | |||||
* | Migrate cache purge function to a proper class | ArthurHoaro | 2020-07-23 | 5 | -42/+54 |
| | | | | | | And update dependencies and tests. Note that SESSION['tags'] has been removed a log ago | ||||
* | Process picwall rendering through Slim controller + UT | ArthurHoaro | 2020-07-23 | 6 | -2/+112 |
| | |||||
* | Fix all relative link to work with new URL | ArthurHoaro | 2020-07-23 | 1 | -2/+2 |
| | |||||
* | Merge pull request #1428 from pipoprods/feat/ldap-auth | ArthurHoaro | 2020-06-25 | 1 | -9/+70 |
|\ | |||||
| * | LDAP - Force protocol LDAPv3 | ArthurHoaro | 2020-06-25 | 1 | -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.php | Sébastien NOBILI | 2020-06-03 | 1 | -1/+6 |
| | | | | | | Co-authored-by: ArthurHoaro <arthur@hoa.ro> | ||||
| * | Update application/security/LoginManager.php | Sébastien NOBILI | 2020-06-03 | 1 | -1/+1 |
| | | | | | | Co-authored-by: ArthurHoaro <arthur@hoa.ro> | ||||
| * | Update application/security/LoginManager.php | Sébastien NOBILI | 2020-06-03 | 1 | -2/+4 |
| | | | | | | Co-authored-by: ArthurHoaro <arthur@hoa.ro> | ||||
| * | ldap authentication, fixes shaarli/Shaarli#1343 | Sébastien NOBILI | 2020-03-02 | 1 | -9/+55 |
| | | |||||
* | | Add an exception to method 'whitelist_protocols' for url which started with '#' | aguy | 2020-02-28 | 1 | -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 container | ArthurHoaro | 2020-01-26 | 2 | -15/+17 |
| | |||||
* | Execute common plugin hooks before rendering login page | ArthurHoaro | 2020-01-26 | 4 | -1/+45 |
| | |||||
* | Fix all existing links and redirection to ?do=login | ArthurHoaro | 2020-01-26 | 1 | -1/+1 |
| | |||||
* | Render login page through Slim controller | ArthurHoaro | 2020-01-26 | 9 | -0/+300 |
| | |||||
* | Fix an issue with private tags and fix nomarkdown tag | ArthurHoaro | 2020-01-18 | 5 | -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) | ArthurHoaro | 2020-01-18 | 1 | -2/+2 |
| | | | | See #1307 | ||||
* | Apply the new system (Bookmark + Service) to the whole code base | ArthurHoaro | 2020-01-18 | 17 | -734/+287 |
| | | | | See https://github.com/shaarli/Shaarli/issues/1307 | ||||
* | Introduce Bookmark object and Service layer to retrieve them | ArthurHoaro | 2020-01-17 | 20 | -66/+3226 |
| | | | | See https://github.com/shaarli/Shaarli/issues/1307 for details | ||||
* | Run Unit Tests against PHP 7.4 | ArthurHoaro | 2020-01-17 | 2 | -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 domains | nodiscc | 2019-09-21 | 1 | -0/+1 |
| | | | OpenGraph thumbnails are well supported on soundcloud.com, displaying an album/track/artist cover image | ||||
* | Fix RSS permalink included in Markdown bloc | ArthurHoaro | 2019-09-12 | 1 | -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 timestamps | ArthurHoaro | 2019-08-07 | 1 | -2/+5 |
| | | | | Fixes #1348 | ||||
* | Automatically retrieve description for new bookmarks | ArthurHoaro | 2019-07-06 | 2 | -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-manager | ArthurHoaro | 2019-05-25 | 2 | -86/+227 |
|\ | | | | | Rewrite IP ban management | ||||
| * | Rewrite IP ban management | ArthurHoaro | 2019-02-09 | 2 | -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-visibility | ArthurHoaro | 2019-04-22 | 1 | -0/+6 |
|\ \ | | | | | | | Bulk action: set visibility | ||||
| * | | Bulk action: set visibility | ArthurHoaro | 2019-02-09 | 1 | -0/+6 |
| |/ | | | | | | | | | | | Added 2 buttons when link checkboxes are checked to set them either public or private. Related to #572 #1160 |