]>
git.immae.eu Git - github/shaarli/Shaarli.git/log
ArthurHoaro [Wed, 24 Jun 2015 09:47:36 +0000 (11:47 +0200)]
Fixes unit tests: checking datastore filesize instead of hash.
date() makes the hash validation worthless because it changes at every generation.
ArthurHoaro [Tue, 23 Jun 2015 18:54:43 +0000 (20:54 +0200)]
Change fresh install default link
Fixes #200
Let me know if you want to change anything in the description.
nodiscc [Tue, 23 Jun 2015 23:04:50 +0000 (01:04 +0200)]
move escape() and sanitizeLink() to application/Utils.php
prevents 'PHP Fatal error: Call to undefined function sanitizeLink() in Shaarli/application/LinkDB.php on line 255' in tests
nodiscc [Tue, 23 Jun 2015 22:51:38 +0000 (00:51 +0200)]
Merge remote-tracking branch 'ArthurHoaro/input-escape' into next
Conflicts:
index.php
VirtualTam [Tue, 23 Jun 2015 20:34:07 +0000 (22:34 +0200)]
LinkDB: add 'hidePublicLinks' parameter to the constructor
Fixes #236
Relates to #237
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
nodiscc [Tue, 23 Jun 2015 22:15:56 +0000 (00:15 +0200)]
add travis-ci.org build status to README
nodiscc [Tue, 23 Jun 2015 18:51:16 +0000 (20:51 +0200)]
Add link to 'Running unit tests wiki page'
Fixes https://github.com/shaarli/Shaarli/issues/234
nodiscc [Tue, 23 Jun 2015 18:45:15 +0000 (20:45 +0200)]
Merge remote-tracking branch 'nicolasdanelon/master' into next
Nicolas Danelon [Tue, 23 Jun 2015 18:32:23 +0000 (15:32 -0300)]
cursor pointer for label (ux improvement)
Nicolas Danelon [Tue, 23 Jun 2015 18:30:13 +0000 (15:30 -0300)]
fix no javascript
ArthurHoaro [Tue, 23 Jun 2015 18:22:02 +0000 (20:22 +0200)]
Page title if there is a single link
Fixes #232
ArthurHoaro [Thu, 11 Jun 2015 11:53:27 +0000 (13:53 +0200)]
Working on shaarli/Shaarli#224
I reviewed character escaping everywhere with the following ideas:
* use a single common function to escape user data: `escape` using `htmlspecialchars`.
* sanitize fields in `index.php` after reading them from datastore and before sending them to templates.
It means no escaping function in Twig templates.
2 reasons:
* it reduces risks of security issue for future user made templates
* more readable templates
* sanitize user configuration fields after loading them.
Nicolas Danelon [Tue, 23 Jun 2015 14:22:11 +0000 (11:22 -0300)]
Update awesomplete.css
Nicolas Danelon [Tue, 23 Jun 2015 14:03:11 +0000 (11:03 -0300)]
filter input search responsive fixed (mobile)
nodiscc [Tue, 23 Jun 2015 13:32:45 +0000 (15:32 +0200)]
add tabindex 1/2 to search and tags fields
nodiscc [Tue, 23 Jun 2015 13:11:17 +0000 (15:11 +0200)]
Merge remote-tracking branch 'origin/doc-contributing'
nodiscc [Tue, 23 Jun 2015 13:07:03 +0000 (15:07 +0200)]
Merge remote-tracking branch 'ArthurHoaro/daily-date' into next
nodiscc [Tue, 23 Jun 2015 13:03:01 +0000 (15:03 +0200)]
Merge remote-tracking branch 'nicolasdanelon/master' into next
nodiscc [Tue, 23 Jun 2015 12:57:54 +0000 (14:57 +0200)]
re-add readDb() missing from previous merge
nodiscc [Tue, 23 Jun 2015 12:38:43 +0000 (14:38 +0200)]
Merge remote-tracking branch 'virtualtam/test/link-db' into next
Conflicts:
index.php
nodiscc [Tue, 23 Jun 2015 12:18:31 +0000 (14:18 +0200)]
Merge remote-tracking branch 'ArthurHoaro/search-tag-awesomplete' into next
nodiscc [Tue, 23 Jun 2015 12:18:04 +0000 (14:18 +0200)]
Merge remote-tracking branch 'virtualtam/travis' into next
nda [Fri, 19 Jun 2015 20:42:16 +0000 (17:42 -0300)]
fix login desktop
nda [Fri, 19 Jun 2015 20:37:38 +0000 (17:37 -0300)]
login enhance for mobile
ArthurHoaro [Fri, 19 Jun 2015 18:13:31 +0000 (20:13 +0200)]
Daily page: date format in template
It only concerns the date of the day in the main title.
Fixes #182
Note that daily RSS feed is not generated through templates. Date are still hard formatted in that case.
VirtualTam [Wed, 11 Mar 2015 23:43:02 +0000 (00:43 +0100)]
LinkDB: move to a proper file, add test coverage
Relates to #71
LinkDB
- move to application/LinkDB.php
- code cleanup
- indentation
- whitespaces
- formatting
- comment cleanup
- add missing documentation
- unify formatting
Test coverage for LinkDB
- constructor
- public / private access
- link-related methods
Shaarli utilities (LinkDB dependencies)
- move startsWith() and endsWith() functions to application/Utils.php
- add test coverage
Dev utilities
- Composer: add PHPUnit to dev dependencies
- Makefile:
- update lint targets
- add test targets
- generate coverage reports
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
nodiscc [Tue, 9 Jun 2015 22:26:00 +0000 (00:26 +0200)]
Create CONTIBUTING.md
Contributing guidelines, fixes https://github.com/shaarli/Shaarli/issues/154
ArthurHoaro [Tue, 9 Jun 2015 12:58:54 +0000 (14:58 +0200)]
Do not load links if they're hidden (also fix shaarli/Shaarli#202)
ArthurHoaro [Tue, 9 Jun 2015 12:23:28 +0000 (14:23 +0200)]
Add awesomplete to tag search shaarli/Shaarli#49
VirtualTam [Thu, 4 Jun 2015 22:46:05 +0000 (00:46 +0200)]
Add Travis CI config
Relates to #71
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
nodiscc [Wed, 3 Jun 2015 13:54:30 +0000 (15:54 +0200)]
split annoyingpatterns list on multpile lines, add new patterns for removal:
* utm_content=
* fb=
* xtor=
closes https://github.com/shaarli/Shaarli/issues/136
nodiscc [Fri, 22 May 2015 19:07:00 +0000 (21:07 +0200)]
Merge branch 'really-hide' of https://github.com/pikzen/Shaarli into next
nodiscc [Fri, 22 May 2015 19:04:36 +0000 (21:04 +0200)]
Merge remote-tracking branch 'Marsup/firefox-social' into next
Marsup [Mon, 11 May 2015 16:42:54 +0000 (16:42 +0000)]
Add Firefox Social API to the tools. Fixes #101.
feula [Mon, 11 May 2015 17:55:59 +0000 (19:55 +0200)]
Properly hide all links
>searchtags
Jonathan Druart [Fri, 8 May 2015 10:38:01 +0000 (11:38 +0100)]
Display date as today if no articles published
On "The Daily Shaarli" page (index.php?do=daily), the date is "Tuesday
30, November 1999" if no articles have been published/shared.
This patch checks the parameter ($linkdate) before the mktime call to
prevent and generate the "day 0" string.
mktime(0,0,0,0,0,0) returns
943916400 (hum?)
nodiscc [Mon, 20 Apr 2015 12:36:25 +0000 (14:36 +0200)]
doc: add demo to README
fixes https://github.com/shaarli/Shaarli/issues/198
nodiscc [Fri, 10 Apr 2015 18:52:12 +0000 (20:52 +0200)]
change wording and variable names for "Hide public links" feature
nodiscc [Fri, 10 Apr 2015 18:30:33 +0000 (20:30 +0200)]
Merge remote-tracking branch 'pikzen/disable-public' into next
nodiscc [Fri, 10 Apr 2015 18:30:15 +0000 (20:30 +0200)]
Merge remote-tracking branch 'ArthurHoaro/localecharset' into next
nodiscc [Fri, 10 Apr 2015 18:28:51 +0000 (20:28 +0200)]
Merge branch 'pandoc' into next
nodiscc [Fri, 10 Apr 2015 18:28:24 +0000 (20:28 +0200)]
Merge commit '
326ae54 ' into next
feula [Thu, 9 Apr 2015 16:13:11 +0000 (18:13 +0200)]
Allow disabling all public links, fixes #188
ArthurHoaro [Wed, 8 Apr 2015 04:53:34 +0000 (06:53 +0200)]
#193 add UTF8 by default to autoLocale
nodiscc [Sun, 5 Apr 2015 20:41:40 +0000 (22:41 +0200)]
doc: remove old mdwiki index.html
nodiscc [Sun, 5 Apr 2015 20:39:34 +0000 (22:39 +0200)]
doc: point footer link to local html documentation
nodiscc [Sun, 5 Apr 2015 20:38:57 +0000 (22:38 +0200)]
doc: sync doc/github-markdown.css from wiki
nodiscc [Sun, 5 Apr 2015 20:37:15 +0000 (22:37 +0200)]
add local HTML documentation
generated with 'make htmldoc'
nodiscc [Sun, 5 Apr 2015 20:35:01 +0000 (22:35 +0200)]
use pandoc to generate local HTML documentation
fixes https://github.com/shaarli/Shaarli/issues/178
run 'make htmldoc'
nodiscc [Sun, 5 Apr 2015 20:18:04 +0000 (22:18 +0200)]
doc: update documentation (sync from wiki)
nodiscc [Sun, 5 Apr 2015 20:16:17 +0000 (22:16 +0200)]
cleanup: makefile comments
ArthurHoaro [Thu, 12 Mar 2015 20:43:21 +0000 (21:43 +0100)]
Fixes autoLocale function by trying several way to find a correct one.
Fix https://github.com/shaarli/Shaarli/issues/184
dimtion [Sun, 5 Apr 2015 16:18:15 +0000 (18:18 +0200)]
Fix missing permalink title when logged in
nodiscc [Wed, 1 Apr 2015 09:56:42 +0000 (11:56 +0200)]
Merge pull request #183 from pikzen/fix-absolute-urls
Display notes as absolute URLs (for real)
Florian Eula [Wed, 1 Apr 2015 09:47:04 +0000 (11:47 +0200)]
Display notes as absolute URLs
ArthurHoaro [Thu, 12 Mar 2015 20:57:19 +0000 (21:57 +0100)]
Fix bad merge commit
Define date format in templates instead of index.php.
Conflicts:
index.php
tpl/dailyrss.html
nodiscc [Tue, 31 Mar 2015 18:21:21 +0000 (20:21 +0200)]
update doc
pikzen [Tue, 31 Mar 2015 18:14:49 +0000 (20:14 +0200)]
Display notes as absolute urls
Fixes https://github.com/shaarli/Shaarli/issues/177
Merge commit '
3ea318dad05954e2043d5bb2f8572b103d7c3930 ' into notes-absolute-url
Conflicts:
index.php
nodiscc [Tue, 31 Mar 2015 18:02:50 +0000 (20:02 +0200)]
Fix php error in daily RSS
Use of undefined constant htmlspecialchars - assumed 'htmlspecialchars' in /var/www/links/tmp/dailyrss.*
Thanks @alexisju in https://github.com/shaarli/Shaarli/commit/
bec18701801cc140d760c261dd115fda1507a0dd
ArthurHoaro [Thu, 12 Mar 2015 20:43:21 +0000 (21:43 +0100)]
Fixes autoLocale function by trying several way to find a correct one.
ArthurHoaro [Thu, 12 Mar 2015 20:57:19 +0000 (21:57 +0100)]
Define date format in templates instead of index.php.
feula [Sun, 29 Mar 2015 15:31:34 +0000 (17:31 +0200)]
Display notes as absolute urls.
The deletion is related to Windows not handling quotes in filenames, see
#179. It shouldn't delete the real file. Probably. Check it out.
nodiscc [Mon, 16 Mar 2015 15:17:31 +0000 (16:17 +0100)]
bump version to 0.0.45beta
nodiscc [Mon, 16 Mar 2015 15:16:03 +0000 (16:16 +0100)]
restore normal font size for the "Add link" input field
* Fixes second part of #172
nodiscc [Mon, 16 Mar 2015 15:13:04 +0000 (16:13 +0100)]
Revert to non-unicode characters for search buttons
* Fixes #172
nodiscc [Sun, 15 Mar 2015 13:24:51 +0000 (14:24 +0100)]
Merge branch 'picwall-direct-link' into next
nodiscc [Sun, 15 Mar 2015 13:23:25 +0000 (14:23 +0100)]
bump version to 0.0.44beta
nodiscc [Sun, 15 Mar 2015 13:22:14 +0000 (14:22 +0100)]
Merge branch 'cleaner-searchfields' into next
nodiscc [Sun, 15 Mar 2015 13:21:59 +0000 (14:21 +0100)]
Merge remote-tracking branch 'ArthurHoaro/autocomplete' into next
nodiscc [Sun, 15 Mar 2015 13:21:33 +0000 (14:21 +0100)]
Merge branch 'include-doc' into next
nodiscc [Sat, 7 Mar 2015 13:50:31 +0000 (14:50 +0100)]
Include documentation/wiki locally:
* sync current wiki (https://github.com/shaarli/Shaarli/wiki) to the doc/ directory
* fix missing logo in README
* add link to local documentation in the page footer
* add Makefile targets for doc generation by @virtualtam
nodiscc [Thu, 12 Mar 2015 14:27:55 +0000 (15:27 +0100)]
add placeholder text for search fields, change button text to magnifying glass unicode symbol
ArthurHoaro [Fri, 6 Mar 2015 20:29:56 +0000 (21:29 +0100)]
Use awesomplete as autocomplete lib and remove jQuery - shaarli/Shaarli#148
* Add awesomplete dependancy (source + min + CSS)
* Remove jQuery and jQuery-UI dependancy
* Few CSS ajustements
* Use tags complete list as RainTPL var (and display it as HTML)
* Remove "disable jQuery" feature
* Remove tag list web service
nodiscc [Thu, 12 Mar 2015 13:38:08 +0000 (14:38 +0100)]
theme: decrease border-radius to 3px everywhere
nodiscc [Thu, 12 Mar 2015 12:19:03 +0000 (13:19 +0100)]
update COPYING
nodiscc [Sat, 7 Mar 2015 23:53:05 +0000 (00:53 +0100)]
picwall: link directly to the target URL (not the permalink)
Miloš Jovanović [Tue, 10 Mar 2015 23:13:23 +0000 (18:13 -0500)]
added menu div and cleaned up code
Miloš Jovanović [Tue, 10 Mar 2015 19:44:51 +0000 (14:44 -0500)]
Fix menu dynamic resize, padding, private icon pixelation
nodiscc [Wed, 11 Mar 2015 18:17:13 +0000 (19:17 +0100)]
Merge pull request #119 from ArthurHoaro/js-link
allow 'javascript:' links sharing (bookmarklets)
nodiscc [Sat, 7 Mar 2015 13:11:49 +0000 (14:11 +0100)]
Merge pull request #151 from nodiscc/addnote-button
tools dialog: add a 'Add Note' bookmarklet to immediatly open a note (text post) compose window
nodiscc [Fri, 6 Mar 2015 21:50:30 +0000 (22:50 +0100)]
tools dialog: add a 'Add Note' bookmarklet to immediatly open a note (text post) compose window
* Fixes https://github.com/shaarli/Shaarli/issues/142
* Fixes https://github.com/sebsauvage/Shaarli/issues/59
nodiscc [Sat, 7 Mar 2015 00:19:06 +0000 (01:19 +0100)]
Merge pull request #124 from virtualtam/static-analysis
Code quality: Makefile to run static code checkers
VirtualTam [Wed, 25 Feb 2015 21:08:50 +0000 (22:08 +0100)]
Code quality: Makefile to run static code checkers
Relates to #71
Relates to #95
Additions:
- Makefile for easy usage,
- Composer file to declare dev & test dependencies.
Features:
- PHP Copy/Paste Detect: detect duplicate code;
- PHP Code Sniffer: static analysis, syntax checking,
- PHP Mess Detector: static analysis, syntax checking.
Signed-off-by: VirtualTam <virtualtam@flibidi.org>
nodiscc [Thu, 5 Mar 2015 17:14:25 +0000 (18:14 +0100)]
fix broken URL for user.css
nodiscc [Thu, 5 Mar 2015 12:54:00 +0000 (13:54 +0100)]
nodiscc [Thu, 5 Mar 2015 12:44:40 +0000 (13:44 +0100)]
Merge pull request #140 from nodiscc/master
Various fixes
nodiscc [Wed, 4 Mar 2015 21:46:57 +0000 (22:46 +0100)]
add bountysource.com badge
* Bountysource is the funding platform for open-source software. Users can improve the open-source projects they love by creating/collecting bounties and pledging to fundraisers.
* https://github.com/bountysource/frontend/wiki/Frequently-Asked-Questions
nodiscc [Wed, 4 Mar 2015 18:09:01 +0000 (19:09 +0100)]
Redirect to homepage after adding a link via "Add Link" dialog
* Fixes https://github.com/shaarli/Shaarli/issues/115
nodiscc [Wed, 4 Mar 2015 18:08:02 +0000 (19:08 +0100)]
update README: add note about php-gd and git-based upgrade
nodiscc [Wed, 4 Mar 2015 07:39:22 +0000 (08:39 +0100)]
remove duplicate license information, fixes https://github.com/shaarli/Shaarli/issues/135
nodiscc [Tue, 3 Mar 2015 22:09:13 +0000 (23:09 +0100)]
cleanup: remove version number from CSS links
* fixes https://github.com/shaarli/Shaarli/issues/134
nodiscc [Thu, 5 Mar 2015 12:42:38 +0000 (13:42 +0100)]
Merge pull request #141 from nodiscc/cleanurl-filters
Add URL cleaning filters + refactoring
nodiscc [Thu, 5 Mar 2015 12:40:43 +0000 (13:40 +0100)]
Improve URL cleaning:
* also remove action_type_map, action_ref_map and action_object maps params used by facebook
nodiscc [Thu, 5 Mar 2015 12:33:30 +0000 (13:33 +0100)]
Improve annoying URL parameters cleaning:
* Use regular expressions to avoid suplicating params depending on their position in the URL (¶m=,?param=)
* Only remove the relevant URL pattern and don't remove following params, fixes https://github.com/shaarli/Shaarli/issues/136
* Credits to Marcus Rohrmoser (https://github.com/mro)
nodiscc [Wed, 4 Mar 2015 22:27:28 +0000 (23:27 +0100)]
Merge pull request #132 from ArthurHoaro/picwall
Lazy load images with the light lib bLazy.js instead of jQuery
nodiscc [Wed, 4 Mar 2015 18:52:24 +0000 (19:52 +0100)]
cleanup: refactor annoying URL patterns in a single loop
* fixes https://github.com/shaarli/Shaarli/issues/133
Alexis J [Wed, 4 Mar 2015 17:02:47 +0000 (18:02 +0100)]
Add some filters to clean URLs
ArthurHoaro [Sun, 1 Mar 2015 09:47:01 +0000 (10:47 +0100)]
Lazy load images with the light lib bLazy.js instead of jQuery:
* Remove jquery.lazyload lib
* Add blazy lib
* Add a bit of CSS animation
* Delete unused picwall2 template
Emilien Klein [Wed, 25 Feb 2015 20:41:56 +0000 (21:41 +0100)]
Merge pull request #123 from nodiscc/dont-disclose-version
Prevent visitors from reading shaarli version
nodiscc [Wed, 25 Feb 2015 12:25:45 +0000 (13:25 +0100)]
Prevent visitors from reading shaarli version
* fixes https://github.com/shaarli/Shaarli/issues/122
* the shaarli version is now in a php comment block, which prevents
visitors from reading it when it is place on a PHP-enabled server, but
still allows the update mechanism to read it from the source on github.