aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
Commit message (Collapse)AuthorAgeFilesLines
* Increase buffer size for cURL downloadArthurHoaro2017-11-111-1/+1
| | | | 1kB chunk size has caused me a lot of trouble with Travis which wasn't completing the download
* Don't URL encode description links if parameter 'redirector.encode_url' is ↵ArthurHoaro2017-11-072-7/+10
| | | | set to false
* Merge pull request #962 from ArthurHoaro/feature/perfs2ArthurHoaro2017-10-282-9/+16
|\ | | | | Performances: reorder links when they're written instead of read
| * Performances: reorder links when they're written instead of readArthurHoaro2017-09-022-9/+16
| | | | | | | | relates to #891
* | Move session ID check to SessionManagerVirtualTam2017-10-222-30/+30
| | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/324 Changed: - `is_session_id_valid()` -> `SessionManager::checkId()` - update tests Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Refactor session token managementVirtualTam2017-10-222-2/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/324 Added: - `SessionManager` class to group session-related features - unit tests Changed: - `getToken()` -> `SessionManager->generateToken()` - `tokenOk()` -> `SessionManager->checkToken()` - inject a `$token` parameter to `PageBuilder`'s constructor Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | Translations : Working demo example of translation extensionArthurHoaro2017-10-221-1/+1
| |
* | Add language selection in the configure page of the default themeArthurHoaro2017-10-222-2/+15
| |
* | Shaarli's translationArthurHoaro2017-10-2219-66/+232
| | | | | | | | | | | | | | | | | | * translation system and unit tests * Translations everywhere Dont use translation merge It is not available with PHP builtin gettext, so it would have lead to inconsistency.
* | Don't write History for link importArthurHoaro2017-10-072-5/+27
| | | | | | | | | | | | | | | | | | | | With large imports it has a large impact on performances and isn't really useful. Instead, write an IMPORT event, which let client using the history service resync its DB. -> 15k link import done in 6 seconds. Fixes #985
* | Merge pull request #979 from ArthurHoaro/feature/assets-cache-versionVirtualTam2017-10-063-4/+24
|\ \ | | | | | | Add a version hash for asset loading to prevent browser's cache issue
| * | Rename shaarli_version constant to uppercaseArthurHoaro2017-10-012-4/+4
| | |
| * | Add a version hash for asset loading to prevent browser's cache issueArthurHoaro2017-10-012-0/+20
| | | | | | | | | | | | | | | | | | The hash is generated using the same salt as the one used for credentials (1 salt per instance) in order to avoid exposing the instance version. Fixes #965
* | | Allow setting of a default note title, see #963Mark Gerarts2017-10-011-0/+1
| | |
* | | Merge pull request #976 from ArthurHoaro/hotfix/url-parenthesesArthurHoaro2017-09-301-1/+1
|\ \ \ | | | | | | | | Fix parsing for description links with parentheses
| * | | Fix parsing for description links with parenthesesArthurHoaro2017-09-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | With markdown plugin disabled relates to #966
* | | | Merge pull request #975 from virtualtam/robustnessVirtualTam2017-09-303-12/+20
|\ \ \ \ | |_|/ / |/| | | Improve robustness for zlib and file operations
| * | | Robustness: safer gzinflate/zlib usageVirtualTam2017-09-281-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/pull/846 PHP's `gzinflate()` fails with an error when being passed an empty string See: - https://bugs.php.net/bug.php?id=71395 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
| * | | Robustness: safer RainTPL directory handlingVirtualTam2017-09-282-2/+4
| |/ / | | | | | | | | | | | | | | | | | | | | | Relates to https://github.com/shaarli/Shaarli/issues/845 Relates to https://github.com/shaarli/Shaarli/issues/846 Relates to https://github.com/shaarli/Shaarli/pull/909 Signed-off-by: VirtualTam <virtualtam@flibidi.net>
* | | Merge pull request #947 from thewilli/wildcardsearchArthurHoaro2017-09-291-47/+84
|\ \ \ | |/ / |/| | wildcard tag search support
| * | wildcard tag search supportWilli Eggeling2017-08-301-47/+84
| | | | | | | | | | | | | | | | | | | | | - when searching for tags you can now include '*' as wildcard placeholder - new search reduces overall overhead when filtering for tags - fixed combination with description tag search ('#' prefix) - tests added
* | | added option to redirect all anonymous users to login pageWilli Eggeling2017-09-031-0/+1
| |/ |/| | | | | | | | | - new setting *force_login* added and documented - if both, *force_login* and *hide_public_links* are set to true, all requests (except for the feeds) are redirected to the login page
* | Merge pull request #939 from ArthurHoaro/hotfix/firefox-social-titleArthurHoaro2017-09-021-0/+28
|\ \ | | | | | | Firefox Social title: Use document.title instead of RainTPL variable
| * | Make work behind a reverse proxyArthurHoaro2017-09-021-0/+28
| | | | | | | | | | | | Without HTTP_X_FORWARDED_PORT check, might be set to false even though the user is using HTTPS, thus disabling Firefox Social block display
* | | Merge pull request #944 from thewilli/configure-remembermeVirtualTam2017-08-271-0/+2
|\ \ \ | |_|/ |/| | new setting: default value for 'remember me' checkbox
| * | new setting: default value for 'remember me' checkboxWilli Eggeling2017-08-271-0/+2
| |/ | | | | | | | | | | - the default state for the login page's 'remember me' checkbox can now be configured - adapted the default and vintage theme to consider the new setting - added documentation for the new setting
* / migrated Github wiki links to readthedocsWilli Eggeling2017-08-262-3/+3
|/
* Merge pull request #887 from ArthurHoaro/hotfix/dash-tag-renameArthurHoaro2017-08-051-0/+33
|\ | | | | Make sure that the tag exists before altering/removing it
| * Move tag renaming code to LinkDB and unit test itArthurHoaro2017-08-051-0/+33
| |
* | Merge pull request #889 from Lucas-C/masterVirtualTam2017-08-033-19/+30
|\ \ | | | | | | Using only one form in linklist.html - fix #885
| * | Using only one form in linklist.html + adding untaggedonly filter - fix #885Lucas Cimon2017-07-303-19/+30
| |/
* / Respect HTTP_X_FORWARDED_HOSTStephen Muth2017-07-081-1/+13
|/ | | | | alongside _PORT and _PROTO Fixes #879
* Merge pull request #880 from ArthurHoaro/hotfix/allowed-protocolsArthurHoaro2017-05-312-0/+25
|\ | | | | Add a whitelist of protocols for URLs
| * Add a whitelist of protocols for URLsArthurHoaro2017-05-252-0/+25
| | | | | | | | | | | | | | - for Shaare - for markdown description links and images Not whitelisted protocols will be replaced by `http://`
* | Merge pull request #841 from ArthurHoaro/feature/search-no-tagArthurHoaro2017-05-254-22/+44
|\ \ | | | | | | Empty tag search will look for not tagged links
| * | Empty tag search will look for not tagged linksArthurHoaro2017-05-254-22/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #784 From now, searching for tags with an empty value will return only not tagged links, with the search bar showing `x results [not tagged]`. Note that using the api, the searchtags request parameter must be set to `false` to get the same result. - [ ] Update API doc
* | | Adds a taglist view with edit/delete buttonsArthurHoaro2017-05-252-0/+37
| | | | | | | | | | | | | | | | | | * The tag list can be sort alphabetically or by most used tag * Edit/Delete are perform using AJAX, or fallback to 'do=changetag' page * New features aren't backported to vintage theme
* | | Add an endpoint to refresh the tokenArthurHoaro2017-05-251-0/+6
| | | | | | | | | | | | Useful for AJAX requests which burns the token
* | | Adding ability to display subtags in tagcloudLucas Cimon2017-05-242-5/+8
| |/ |/|
* | Use the new 'default' theme... as defaultArthurHoaro2017-05-091-15/+0
| | | | | | | | Fixes #866
* | Merge pull request #862 from ArthurHoaro/theme/tags-everywhereArthurHoaro2017-05-071-2/+12
|\ \ | | | | | | Inject tag list everywhere to make autocomplete work on the fixed search bar
| * | Inject tag list everywhere to make autocomplete work on the fixed search barArthurHoaro2017-05-071-2/+12
| | |
* | | Merge pull request #861 from ArthurHoaro/hotfix/import-shorturl-overrideArthurHoaro2017-05-071-0/+1
|\ \ \ | |/ / |/| | Fix a bug happening when importing links with override option
| * | Fix a bug happening when importing links with override optionArthurHoaro2017-05-071-0/+1
| | | | | | | | | | | | The shorturl would be set to null, generating a lot of warnings and breaking permalinks
* | | History: fix entries orderArthurHoaro2017-05-071-1/+0
| | |
* | | Reset the history file due to datetime format changeArthurHoaro2017-05-071-0/+11
| | |
* | | Add history entries for API endpointArthurHoaro2017-05-076-8/+19
|/ / | | | | | | CHANGED: datetime is now store as an object in history store file
* | API: Get History endpointArthurHoaro2017-05-071-0/+71
| | | | | | | | See http://shaarli.github.io/api-documentation/#links-history-get
* | Merge pull request #856 from ArthurHoaro/api/delete-linkArthurHoaro2017-05-071-0/+23
|\ \ | | | | | | API: add DELETE endpoint
| * | API: add DELETE endpointArthurHoaro2017-05-071-0/+23
| | | | | | | | | | | | | | | | | | Based on #840 See http://shaarli.github.io/api-documentation/\#links-link-delete