aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | | Merge pull request #840 from ArthurHoaro/api/putLinkArthurHoaro2017-05-072-0/+68
|\| | | | | | | | REST API: implement PUT method
| * | REST API: implement PUT methodArthurHoaro2017-05-072-0/+68
| | | | | | | | | | | | | | | * Related to #609 * Documentation: http://shaarli.github.io/api-documentation/#links-link-put
* | | Merge pull request #764 from ArthurHoaro/feature/historyArthurHoaro2017-05-066-40/+294
|\ \ \ | | | | | | | | History mechanism
| * | | History: lazy loading for the history fileArthurHoaro2017-03-211-0/+17
| | | | | | | | | | | | | | | | Only read it when it's necessary
| * | | History mechanismArthurHoaro2017-03-213-1/+188
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use case: rest API service * saved by default in data/history * same format as datastore.php * traced events: * save/edit/delete link * change settings or plugins settings * rename tag
| * | | Move database read/write to FileUtils class + additional unit testsArthurHoaro2017-03-213-39/+89
| | | |
* | | | Merge pull request #830 from ArthurHoaro/theme/timezoneArthurHoaro2017-04-252-57/+46
|\ \ \ \ | | | | | | | | | | Change timezone data structure send to the templates
| * | | | Change timezone data structure send to the templatesArthurHoaro2017-04-032-57/+46
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The goal of this is to be able to adapt the timezone form in template without hacking the HTML already rendered. * there are two arrays available: * `continents` which contains only a list of available continents * `cities` which contains a list of available timezone cities, associated with their continent Note: there are two distinct array because RainTPL doesn't support nested loop very well.
* | | | Use raw bytes for upload size hidden inputArthurHoaro2017-04-101-5/+6
| | | |
* | | | Fix offset check with link ID = 0ArthurHoaro2017-04-051-2/+2
| | | |
* | | | Fix a warning generated in return_bytes function and refactor itArthurHoaro2017-04-031-0/+89
| |_|/ |/| | | | | | | | | | | | | | It was multiplying a string containing a letter. Moved function to Utils.php and display a human readable limit size
* | | Merge pull request #742 from ArthurHoaro/api/postLinkArthurHoaro2017-04-013-3/+86
|\ \ \ | | | | | | | | REST API: implement POST link service
| * | | REST API: implement POST link serviceArthurHoaro2017-03-273-3/+86
| |/ /
* / / Theme: use format_date function for daily dateArthurHoaro2017-03-281-3/+5
|/ /