Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | Explicitly define base and asset path in templates | ArthurHoaro | 2020-07-23 | 5 | -90/+28 | |
| | | | | | | | | | | | | | | 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 | 2 | -0/+656 | |
| | | ||||||
* | | Process manage tags page through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -0/+272 | |
| | | ||||||
* | | Process configure page through Slim controller | ArthurHoaro | 2020-07-23 | 4 | -18/+294 | |
| | | ||||||
* | | Password change: UT use case with open shaarli | ArthurHoaro | 2020-07-23 | 1 | -0/+17 | |
| | | ||||||
* | | Test ShaarliAdminController | ArthurHoaro | 2020-07-23 | 2 | -1/+200 | |
| | | ||||||
* | | Process password change controller through Slim | ArthurHoaro | 2020-07-23 | 14 | -125/+188 | |
| | | ||||||
* | | Process tools page through Slim controller | ArthurHoaro | 2020-07-23 | 2 | -1/+74 | |
| | | ||||||
* | | Initialize admin Slim controllers | ArthurHoaro | 2020-07-23 | 13 | -33/+137 | |
| | | | | | | | | | | | | - 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/+478 | |
| | | | | | | | | | | | | | | Including: - visibility - links per page - untagged only | |||||
* | | Process remove tag endpoint through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -0/+82 | |
| | | ||||||
* | | Refactor front controller tests to create container mock using a trait | ArthurHoaro | 2020-07-23 | 12 | -465/+232 | |
| | | ||||||
* | | Process OpenSearch controller through Slim | ArthurHoaro | 2020-07-23 | 1 | -0/+92 | |
| | | | | | | | | Also it was missing on the default template feeds | |||||
* | | RSS/ATOM feeds: process through Slim controller | ArthurHoaro | 2020-07-23 | 2 | -3/+222 | |
| | | ||||||
* | | Make FeedBuilder instance creation independant of the request stack | ArthurHoaro | 2020-07-23 | 1 | -48/+15 | |
| | | ||||||
* | | PHP 7.1 compatibility | ArthurHoaro | 2020-07-23 | 1 | -2/+2 | |
| | | ||||||
* | | Process Daily RSS feed through Slim controller | ArthurHoaro | 2020-07-23 | 3 | -6/+182 | |
| | | | | | | | | 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 | -0/+4 | |
| | | ||||||
* | | Process daily page through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -0/+423 | |
| | | ||||||
* | | Process tag list page through Slim controller | ArthurHoaro | 2020-07-23 | 1 | -12/+191 | |
| | | ||||||
* | | Few optimizations and code readability for tag cloud controller | ArthurHoaro | 2020-07-23 | 1 | -3/+3 | |
| | | ||||||
* | | Handle tag filtering in the Bookmark service | ArthurHoaro | 2020-07-23 | 2 | -7/+2 | |
| | | ||||||
* | | Working version before optimization | ArthurHoaro | 2020-07-23 | 1 | -0/+258 | |
| | | ||||||
* | | Slim router: handle add tag route | ArthurHoaro | 2020-07-23 | 9 | -95/+197 | |
| | | ||||||
* | | Process logout through Slim controller | ArthurHoaro | 2020-07-23 | 2 | -1/+69 | |
| | | ||||||
* | | Migrate cache purge function to a proper class | ArthurHoaro | 2020-07-23 | 3 | -24/+16 | |
| | | | | | | | | | | | | 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 | 2 | -0/+184 | |
|/ | ||||||
* | fixed typo | Sébastien NOBILI | 2020-03-02 | 1 | -1/+1 | |
| | ||||||
* | ldap authentication, fixes shaarli/Shaarli#1343 | Sébastien NOBILI | 2020-03-02 | 1 | -0/+34 | |
| | ||||||
* | Execute common plugin hooks before rendering login page | ArthurHoaro | 2020-01-26 | 2 | -2/+123 | |
| | ||||||
* | Fix all existing links and redirection to ?do=login | ArthurHoaro | 2020-01-26 | 1 | -2/+2 | |
| | ||||||
* | Render login page through Slim controller | ArthurHoaro | 2020-01-26 | 3 | -0/+292 | |
| | ||||||
* | Fix an issue with private tags and fix nomarkdown tag | ArthurHoaro | 2020-01-18 | 7 | -6/+68 | |
| | | | | | | | | 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 | 42 | -1736/+4705 | |
| | | | | See #1307 | |||||
* | Run Unit Tests against PHP 7.4 | ArthurHoaro | 2020-01-17 | 6 | -8/+18 | |
| | | | | | | | | 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. | |||||
* | Markdown plugin: fix RSS feed direct link reverse | ArthurHoaro | 2019-08-15 | 1 | -0/+10 | |
| | | | | The plugin was only reversing permalinks and failed with setting rss_permalinks set to false | |||||
* | Fix UT: LinkDBTest - make each tests independant | ArthurHoaro | 2019-08-10 | 1 | -13/+12 | |
| | | | | | Otherwise the datastore is empty in the last test, making it inconsistent due to dates issues. | |||||
* | Make sure that bookmark sort is consistent, even with equal timestamps | ArthurHoaro | 2019-08-07 | 1 | -0/+35 | |
| | | | | Fixes #1348 | |||||
* | Default colors plugin - Add unit tests | ArthurHoaro | 2019-07-20 | 1 | -0/+195 | |
| | ||||||
* | Automatically retrieve description for new bookmarks | ArthurHoaro | 2019-07-06 | 1 | -11/+193 | |
| | | | | | | | | | | | | | | | 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 | -97/+400 | |
|\ | | | | | Rewrite IP ban management | |||||
| * | Rewrite IP ban management | ArthurHoaro | 2019-02-09 | 2 | -97/+400 | |
| | | | | | | | | | | | | | | 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 #1271 from ArthurHoaro/hotfix/thumb-note-retrieve | ArthurHoaro | 2019-03-02 | 1 | -0/+20 | |
|\ \ | | | | | | | Do not try to retrieve thumbnails for internal link | |||||
| * | | Do not try to retrieve thumbnails for internal link | ArthurHoaro | 2019-02-24 | 1 | -0/+20 | |
| |/ | | | | | | | Also adds a helper function to determine if a link is a note and apply it across multiple files. | |||||
* / | Remove the redirector setting | ArthurHoaro | 2019-02-09 | 4 | -71/+23 | |
|/ | | | | Fixes #1239 | |||||
* | Merge pull request #1182 from ArthurHoaro/feature/session-protection-stay-login | ArthurHoaro | 2019-02-09 | 1 | -0/+14 | |
|\ | | | | | Do not check the IP address with session protection disabled | |||||
| * | Do not check the IP address with session protection disabled | ArthurHoaro | 2018-07-17 | 1 | -0/+14 | |
| | | | | | | | | | | | | This allows the user to stay logged in if his IP changes. Fixes #1106 | |||||
* | | Optimize and cleanup imports | VirtualTam | 2019-01-13 | 27 | -84/+86 | |
| | | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net> | |||||
* | | API: update test regexes to comply with PCRE2 | VirtualTam | 2019-01-13 | 1 | -2/+2 | |
| | | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net> | |||||
* | | namespacing: add plugin tests to \Shaarli\Plugin\[...] | VirtualTam | 2019-01-12 | 9 | -15/+22 | |
| | | | | | | | | Signed-off-by: VirtualTam <virtualtam@flibidi.net> |