| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Modifications
- attempt to use the server's timezone
- if none is set, use UTC
- TimeZone: apply coding conventions
- variable naming
- no closing PHP tag
Relates to #274
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
Doc: sync from Wiki, generate HTML
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Closes #291
Fixes #227
Modifications
- HTML content: match the new Wiki structure
- Makefile
- generate a custom HTML sidebar
- include the sidebar on all pages
- infer and prepend page titles
- handle relative links
- add title metadata, e.g. Shaarli - <Page Name>
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
Add a generic rule to run PHPCS against different coding standards
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Relates to #95
Usage
- list available standards
$ ./vendor/bin/phpcs -i
- run PHPCS against a given standard
$ make PHPCS_<standard>
Examples
$ make PHPCS_PSR1
$ make PHPCS_Zend
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
Bump version to 0.5.0
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Major changes
- fix locale handling
- fix note URLs
- fix page redirections
- fix daily RSS browsing
- fix title display
- fix links not being hidden when `HIDE_PUBLIC_LINKS` is set
- restore compatibility with PHP 5.3
- remove duplicate tags in links
- remove annoying URL patterns
- add Firefox Social API
- Search/Filter by tag fieds can now be accessed quickly with the `Tab` key
- update documentation
- start code refactoring
- move all settings to `data/config.php`
- refactor Config, LinkDB, TimeZone, Utils
- add unit test coverage
- add Travis integration
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| |
| |
| |
| | |
Fixes #297
|
|\ \
| | |
| | | |
[fix] #293 - Black thumbnails on picture wall after upgrade
|
| | |
| | |
| | | |
Black thumbnails on picture wall after upgrade #293
|
|\ \ \
| |/ /
|/| | |
Makefile: do not call `clean` before `test`
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Fixes #288
Modifications:
- call `make clean` explicitely to clean the workspace
- add `make clean` to Travis instructions
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| | |
| | | |
Travis: use the container-based infrastructure
|
|/ /
| |
| |
| |
| |
| | |
See http://docs.travis-ci.com/user/migrating-from-legacy/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| |/
|/| |
PHP: ensure 5.3 compatibility
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Relates to #250
Modifications
- supported version
- bump required version from 5.1.0 to 5.3.x
- update README
- add PHP 5.3 to Travis environments
- rewrite array declarations: explicitely use array() instead of []
- move checkPHPVersion to application/Utils.php
- move timezone functions to application/TimeZone.php
- cleanup code
- improve test coverage
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\
| |
| | |
Prevent redirection loop everytime we rely on HTTP_REFERER
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* search tag
* delete tag
* pagination
* display privates only
* delete link
* new/edit/cancel link return page
Move location generation to Utils.php + unit tests.
Fixes #256
ninja
|
| | |
|
| |
| |
| |
| | |
Happened if there were not any searchtags already present in the query.
|
|\ \
| | |
| | | |
Avoid tag duplicates
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* Prevent duplicate client side with awesomplete
* Prevent duplicate server side (save_edit processing)
Fixes #261
|
|\ \ \
| | | |
| | | | |
Include the whole <item> in Daily RSS template
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Allow custom date format and title in templates.
Also a bit of code style review.
Fixes #182
|
|\ \ \ \
| | | | |
| | | | | |
Fix: data/config.php was not imported
|
|/ / / /
| | | |
| | | |
| | | |
| | | |
| | | | |
Relates to #255
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \ \ \
| |/ / /
|/| | | |
LinkDB: prefix private members with an underscore
|
|/ / /
| | |
| | |
| | |
| | |
| | | |
Relates to #95, #218
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \ \
| |_|/
|/| | |
All settings are now stored in config.php
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Isolate functions related to config in Config.php + add unit tests + code_sniffer.
options.php is not supported anymore, but its content will be automatically saved into config.php
Fixes #shaarli/Shaarli#41
*TODO*: update [documentation](https://github.com/shaarli/Shaarli/wiki#configuration).
|
|\ \
| | |
| | | |
LinkDB::filterDay(): check input date format
|
|/ /
| |
| |
| | |
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|\ \
| |/
|/| |
Fixes #260: previous/next day links in daily
|
|/
|
|
| |
The bug was occuring only if we tried to access to the first day.
|
|\
| |
| | |
LinkDBTest: only check that the datastore is created and non-empty
|
|/
|
|
|
|
|
| |
Fixes #252
Relates to #238
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
|
|
|
| |
https://github.com/shaarli/Shaarli/issues/250
|
|\ |
|
| |
| |
| |
| | |
date() makes the hash validation worthless because it changes at every generation.
|
| |
| |
| |
| |
| |
| | |
Fixes #200
Let me know if you want to change anything in the description.
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Relates to #218
Removes "hidden" access to the following variables:
- $GLOBALS['config']['datastore']
- PHPPREFIX
- PHPSUFFIX
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
|
| | |
|
| | |
|
| | |
|
| | |
|
|\ \
| |/
|/| |
Restore compatibility with php 5.3
|
|/ |
|
|
|
|
| |
prevents 'PHP Fatal error: Call to undefined function sanitizeLink() in Shaarli/application/LinkDB.php on line 255' in tests
|
|\
| |
| |
| |
| | |
Conflicts:
index.php
|