]>
git.immae.eu Git - github/shaarli/Shaarli.git/log
VirtualTam [Fri, 10 Jul 2015 20:53:43 +0000 (22:53 +0200)]
Fix: data/config.php was not imported
Relates to #255
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Fri, 10 Jul 2015 15:43:00 +0000 (17:43 +0200)]
Merge pull request #267 from virtualtam/linkdb/private-names
LinkDB: prefix private members with an underscore
VirtualTam [Thu, 9 Jul 2015 19:07:37 +0000 (21:07 +0200)]
LinkDB: prefix private members with an underscore
Relates to #95, #218
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Thu, 9 Jul 2015 19:34:46 +0000 (21:34 +0200)]
Merge pull request #255 from ArthurHoaro/config
All settings are now stored in config.php
ArthurHoaro [Mon, 29 Jun 2015 10:23:00 +0000 (12:23 +0200)]
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).
VirtualTam [Wed, 8 Jul 2015 23:00:40 +0000 (01:00 +0200)]
Merge pull request #251 from virtualtam/linkdb/date-format
LinkDB::filterDay(): check input date format
VirtualTam [Sat, 27 Jun 2015 12:57:44 +0000 (14:57 +0200)]
LinkDB::filterDay(): check input date format
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Wed, 8 Jul 2015 22:16:07 +0000 (00:16 +0200)]
Merge pull request #264 from ArthurHoaro/daily-nav
Fixes #260: previous/next day links in daily
ArthurHoaro [Wed, 8 Jul 2015 15:11:06 +0000 (17:11 +0200)]
Fixes #260: previous/next day links in daily
The bug was occuring only if we tried to access to the first day.
nodiscc [Sun, 28 Jun 2015 13:53:27 +0000 (15:53 +0200)]
Merge pull request #254 from virtualtam/test/linkdb/datastore
LinkDBTest: only check that the datastore is created and non-empty
VirtualTam [Sun, 28 Jun 2015 12:53:26 +0000 (14:53 +0200)]
LinkDBTest: only check that the datastore is created and non-empty
Fixes #252
Relates to #238
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
nodiscc [Sat, 27 Jun 2015 14:30:54 +0000 (16:30 +0200)]
doc: bump php requirement to php 5.4, fixes https://github.com/shaarli/Shaarli/issues/250
nodiscc [Fri, 26 Jun 2015 20:03:25 +0000 (22:03 +0200)]
Merge remote-tracking branch 'ArthurHoaro/default-links'
nodiscc [Fri, 26 Jun 2015 20:03:10 +0000 (22:03 +0200)]
Merge remote-tracking branch 'virtualtam/linkdb/remove-globals'
nodiscc [Fri, 26 Jun 2015 19:56:43 +0000 (21:56 +0200)]
[doc] sync doc with latest wiki, build HTML
nodiscc [Fri, 26 Jun 2015 19:54:54 +0000 (21:54 +0200)]
[doc] update CONTRIBUTING
nicolasm [Wed, 24 Jun 2015 03:35:36 +0000 (00:35 -0300)]
duplicated id removed
nicolasm [Wed, 24 Jun 2015 03:35:13 +0000 (00:35 -0300)]
awesome.css restored. width bug fixed.
nodiscc [Fri, 26 Jun 2015 19:49:18 +0000 (21:49 +0200)]
Merge pull request #249 from fbartels/patch-1
Restore compatibility with php 5.3
Felix Bartels [Fri, 26 Jun 2015 14:57:07 +0000 (16:57 +0200)]
Restore compatability with php 5.3
VirtualTam [Wed, 24 Jun 2015 21:01:21 +0000 (23:01 +0200)]
LinkDB: do not access global variables
Relates to #218
Removes "hidden" access to the following variables:
- $GLOBALS['config']['datastore']
- PHPPREFIX
- PHPSUFFIX
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
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)