]>
git.immae.eu Git - github/shaarli/Shaarli.git/log
Willi Eggeling [Wed, 30 Aug 2017 22:39:15 +0000 (00:39 +0200)]
added option to redirect all anonymous users to login page
- 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
ArthurHoaro [Sat, 2 Sep 2017 11:54:38 +0000 (13:54 +0200)]
Merge pull request #939 from ArthurHoaro/hotfix/firefox-social-title
Firefox Social title: Use document.title instead of RainTPL variable
ArthurHoaro [Sat, 2 Sep 2017 11:50:03 +0000 (13:50 +0200)]
Firefox Social title: Use document.title instead of RainTPL variable
Fixes #929
ArthurHoaro [Fri, 25 Aug 2017 17:47:57 +0000 (19:47 +0200)]
Make work behind a reverse proxy
Without HTTP_X_FORWARDED_PORT check, might be set to false even though the user is using HTTPS, thus disabling Firefox Social block display
VirtualTam [Sat, 2 Sep 2017 11:00:45 +0000 (13:00 +0200)]
Merge pull request #956 from virtualtam/fix/make-authors
Documentation+Makefile: update AUTHORS generation
ArthurHoaro [Fri, 1 Sep 2017 16:25:44 +0000 (18:25 +0200)]
Merge pull request #950 from thewilli/delete-fix
fixed link deletion
ArthurHoaro [Fri, 1 Sep 2017 16:25:09 +0000 (18:25 +0200)]
Merge pull request #951 from thewilli/fix-daily
fixed daily links if there are no links
Willi Eggeling [Sun, 27 Aug 2017 17:19:59 +0000 (19:19 +0200)]
fixed link deletion
When deleting links, the js of the default theme separated ids by an escaped space ('+').
There was a trailing '+' after the ids which led to the php code detecting multiple values
even for single values. In combination with the id '0' this could led to no id found at all
and a resulting php error.
this commit fixes the behavior and adds an additional error handling and trimming to the php code.
Willi Eggeling [Sun, 27 Aug 2017 17:36:48 +0000 (19:36 +0200)]
fixed daily links if there are no links
- the previous code tried to use links from a previous day if there are no one for the current one
- the new code skips this part if there are no entries (i.e. days) at all
- modified showDaily() to fit PSR-1 and PSR-2
VirtualTam [Tue, 29 Aug 2017 17:46:23 +0000 (19:46 +0200)]
Documentation+Makefile: update AUTHORS generation
Fixes https://github.com/shaarli/Shaarli/issues/935
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sun, 27 Aug 2017 14:36:53 +0000 (16:36 +0200)]
Merge pull request #944 from thewilli/configure-rememberme
new setting: default value for 'remember me' checkbox
Willi Eggeling [Sat, 26 Aug 2017 07:27:10 +0000 (09:27 +0200)]
new setting: default value for 'remember me' checkbox
- 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
VirtualTam [Sun, 27 Aug 2017 11:15:43 +0000 (13:15 +0200)]
Merge pull request #940 from ArthurHoaro/hotfix/empty-urls
Generates a permalink URL if the URL is set to blank
VirtualTam [Sun, 27 Aug 2017 11:12:58 +0000 (13:12 +0200)]
Merge pull request #942 from thewilli/fix-wiki-links
migrated Github wiki links to readthedocs
VirtualTam [Sun, 27 Aug 2017 11:10:05 +0000 (13:10 +0200)]
Merge pull request #946 from thewilli/clean
small code cleanup
Willi Eggeling [Sat, 26 Aug 2017 10:20:38 +0000 (12:20 +0200)]
code clean: cookie expiration
- unified code style (spaces around operators)
- prevented expiration time to be calculated twice
- replaced tabs with spaces
Willi Eggeling [Sat, 26 Aug 2017 09:27:18 +0000 (11:27 +0200)]
removed doc and code references to magic quotes
- removed all references to magic quotes
- magic quotes are not supported on PHP >= 5.4 (https://secure.php.net/manual/en/security.magicquotes.php)
- Shaarli does not support PHP < 5.5
Willi Eggeling [Sat, 26 Aug 2017 07:40:57 +0000 (09:40 +0200)]
migrated Github wiki links to readthedocs
ArthurHoaro [Fri, 25 Aug 2017 18:08:07 +0000 (20:08 +0200)]
Generates a permalinks URL if the URL is set to blank
Fixes #926
ArthurHoaro [Fri, 25 Aug 2017 17:58:32 +0000 (19:58 +0200)]
Merge pull request #938 from ArthurHoaro/hotfix/tagcloud-order
Sort tag cloud in alphabetical order
ArthurHoaro [Fri, 25 Aug 2017 17:25:00 +0000 (19:25 +0200)]
Sort tag cloud in alphabetical order
Fixes #932
ArthurHoaro [Fri, 25 Aug 2017 17:15:24 +0000 (19:15 +0200)]
Merge pull request #934 from thewilli/fix-note-bookmarklet
fixed note bookmarklet
Willi Eggeling [Thu, 24 Aug 2017 08:20:32 +0000 (10:20 +0200)]
fixed note bookmarklet
- the double quotes used in the alert() call of the note bookmarklet in the default template collided with the ones of the href tag
- replaced the double quotes with single ones (just like the link bookmarklet)
VirtualTam [Tue, 22 Aug 2017 23:35:10 +0000 (01:35 +0200)]
Merge pull request #928 from virtualtam/documentation/v0.9.1
documentation: update installation instructions for 0.9.1
VirtualTam [Tue, 22 Aug 2017 23:22:07 +0000 (01:22 +0200)]
documentation: update installation instructions for 0.9.1
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 22 Aug 2017 23:07:28 +0000 (01:07 +0200)]
Merge pull request #927 from virtualtam/changelog
Update Changelog for 0.9.1
VirtualTam [Tue, 22 Aug 2017 23:01:58 +0000 (01:01 +0200)]
Update CHANGELOG.md for 0.9.1
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 22 Aug 2017 22:57:50 +0000 (00:57 +0200)]
documentation: fix list formatting
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
ArthurHoaro [Sat, 19 Aug 2017 15:57:29 +0000 (17:57 +0200)]
Merge pull request #925 from ArthurHoaro/theme/remove-2nd-sort-by
Remove the 2nd green 'sort by' row in link list
ArthurHoaro [Sat, 19 Aug 2017 15:57:21 +0000 (17:57 +0200)]
Merge pull request #924 from ArthurHoaro/feature/hide-list-search
Hide the search link if no tag has been searched in tag list
ArthurHoaro [Sat, 19 Aug 2017 15:52:28 +0000 (17:52 +0200)]
Merge pull request #923 from ArthurHoaro/hotfix/untagged
Fix untagged only button
ArthurHoaro [Sat, 19 Aug 2017 15:51:06 +0000 (17:51 +0200)]
Remove the 2nd green 'sort by' row in link list
It isn't really useful and doesn't look good if there isn't enough tags
ArthurHoaro [Sat, 19 Aug 2017 15:49:11 +0000 (17:49 +0200)]
Hide the search link if no tag has been searched in tag list
ArthurHoaro [Sat, 19 Aug 2017 15:41:56 +0000 (17:41 +0200)]
Fix untagged only button
VirtualTam [Tue, 8 Aug 2017 20:21:54 +0000 (22:21 +0200)]
Merge pull request #920 from virtualtam/documentation/rest-3rd
documentation: update 3rd-party resources
VirtualTam [Tue, 8 Aug 2017 20:02:50 +0000 (22:02 +0200)]
documentation: update 3rd-party resources
Relates to https://github.com/shaarli/Shaarli/issues/915
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Mon, 7 Aug 2017 14:20:36 +0000 (16:20 +0200)]
Merge pull request #918 from Lucas-C/master
Adding missing empty() as spotted in #889 code review
Lucas Cimon [Sun, 6 Aug 2017 19:26:37 +0000 (21:26 +0200)]
Adding missing empty() as spotted in #889 code review
VirtualTam [Sun, 6 Aug 2017 14:15:32 +0000 (16:15 +0200)]
Merge pull request #917 from virtualtam/documentation/fixes+improvements
Documentation fixes, improvements and additions
VirtualTam [Sat, 5 Aug 2017 12:46:05 +0000 (14:46 +0200)]
documentation: elaborate on REST API server & client prerequisites
Relates to https://github.com/shaarli/Shaarli/issues/903
Relates to https://github.com/shaarli/Shaarli/issues/905
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 5 Aug 2017 12:33:07 +0000 (14:33 +0200)]
documentation: remove obsolete doc release instructions
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 5 Aug 2017 12:30:43 +0000 (14:30 +0200)]
documentation: add links to example REST API clients
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 5 Aug 2017 12:15:59 +0000 (14:15 +0200)]
documentation: rewrite the REST API PHP client example
Closes https://github.com/shaarli/Shaarli/issues/905
Relates to https://github.com/shaarli/Shaarli/pull/751
See https://shaarli.github.io/api-documentation/
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 5 Aug 2017 10:08:09 +0000 (12:08 +0200)]
documentation: update release download and usage information
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 5 Aug 2017 10:05:10 +0000 (12:05 +0200)]
documentation: remove duplicate "Coding guidelines" page
The information is already present under "Static analysis"
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 5 Aug 2017 09:56:24 +0000 (11:56 +0200)]
documentation: fix rendering and internal references
This is mainly cleanup after switching from Github-flavoured Markdown
rendered by Github Pages, to standard Markdown rendered by MkDocs.
Changed:
- rephrase some section titles
Fixed:
- list rendering (items, sub-items))
- code rendering
- quotes
- dead links
Removed:
- extraneous navigational elements
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
ArthurHoaro [Sat, 5 Aug 2017 09:09:13 +0000 (11:09 +0200)]
Merge pull request #916 from ArthurHoaro/hotfix/fix-composer-php-version
Fix PHP version configuration in composer.json
ArthurHoaro [Sat, 5 Aug 2017 08:59:39 +0000 (10:59 +0200)]
Fix PHP version configuration in composer.json
Without this setting, composer would download dependencies depending on the PHP version installed on the system.
E.G. I was getting doctrine/instantiator 1.1, which requires at least PHP 7.1.
VirtualTam [Sat, 5 Aug 2017 08:40:35 +0000 (10:40 +0200)]
Merge pull request #910 from virtualtam/documentation/improvements
Include generated doc in release archives, remove HTML from SCM
ArthurHoaro [Sat, 5 Aug 2017 07:59:03 +0000 (09:59 +0200)]
Merge pull request #887 from ArthurHoaro/hotfix/dash-tag-rename
Make sure that the tag exists before altering/removing it
ArthurHoaro [Fri, 4 Aug 2017 17:10:00 +0000 (19:10 +0200)]
Move tag renaming code to LinkDB and unit test it
VirtualTam [Thu, 3 Aug 2017 14:27:59 +0000 (16:27 +0200)]
Merge pull request #889 from Lucas-C/master
Using only one form in linklist.html - fix #885
VirtualTam [Wed, 2 Aug 2017 12:58:35 +0000 (14:58 +0200)]
Merge pull request #913 from virtualtam/fix/readme
readme: fix logo uri
VirtualTam [Wed, 2 Aug 2017 12:50:14 +0000 (14:50 +0200)]
readme: fix logo uri
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 1 Aug 2017 17:25:45 +0000 (19:25 +0200)]
documentation: include generated HTML in release archives
Closes https://github.com/shaarli/Shaarli/issues/908
Relates to https://github.com/shaarli/Shaarli/pull/772
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 1 Aug 2017 17:10:14 +0000 (19:10 +0200)]
documentation: set edit_uri
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 1 Aug 2017 17:01:11 +0000 (19:01 +0200)]
documentation: remove uneeded resources
Relates to https://github.com/shaarli/Shaarli/issues/312
Relates to https://github.com/shaarli/Shaarli/pull/772
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Tue, 1 Aug 2017 17:00:03 +0000 (19:00 +0200)]
documentation: remove generated HTML from SCM
Relates to https://github.com/shaarli/Shaarli/issues/908
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Wed, 2 Aug 2017 12:47:29 +0000 (14:47 +0200)]
Merge pull request #911 from virtualtam/fix/release/composer
fix: use pinned dependency revisions when generating release archives
VirtualTam [Tue, 1 Aug 2017 17:33:48 +0000 (19:33 +0200)]
fix: use pinned dependency revisions when generating release archives
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Wed, 2 Aug 2017 12:40:49 +0000 (14:40 +0200)]
Merge pull request #912 from virtualtam/travis/precise
travis: explicitly set the build dist to `precise`
VirtualTam [Tue, 1 Aug 2017 17:39:45 +0000 (19:39 +0200)]
travis: explicitly set the build dist to `precise`
See https://blog.travis-ci.com/2017-07-11-trusty-as-default-linux-is-coming
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Lucas Cimon [Thu, 1 Jun 2017 15:55:26 +0000 (17:55 +0200)]
Using only one form in linklist.html + adding untaggedonly filter - fix #885
VirtualTam [Sat, 29 Jul 2017 14:17:09 +0000 (16:17 +0200)]
Merge pull request #906 from virtualtam/docker/cleanup
docker: remove `dev` image, update documentation
VirtualTam [Sat, 29 Jul 2017 13:29:54 +0000 (15:29 +0200)]
Generate HTML documentation
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sat, 29 Jul 2017 13:26:27 +0000 (15:26 +0200)]
docker: remove `dev` image, update documentation
Relates to https://github.com/shaarli/Shaarli/issues/843
Changed:
- Update Docker image list
- Update Docker documentation structure
Removed:
- Delete Dockerfile and resources for the `dev` image
- Cleanup `doc/` resources
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
VirtualTam [Sun, 23 Jul 2017 17:09:06 +0000 (19:09 +0200)]
Merge pull request #896 from ArthurHoaro/hotfix/firefox-social-subdir
Fix Firefox Social button in the default theme
nodiscc [Thu, 20 Jul 2017 17:52:39 +0000 (19:52 +0200)]
doc: fix bullet list formatting
https://shaarli.readthedocs.io/en/master/Shaarli-configuration/
nodiscc [Wed, 19 Jul 2017 16:54:00 +0000 (18:54 +0200)]
Merge pull request #901 from shaarli/fix-900
Remove merge conflict leftover
ArthurHoaro [Thu, 13 Jul 2017 12:15:06 +0000 (14:15 +0200)]
Merge pull request #899 from smuth4/master
Respect HTTP_X_FORWARDED_HOST
Stephen Muth [Wed, 12 Jul 2017 17:57:47 +0000 (17:57 +0000)]
Add tests to cover new server_url behavior
nodiscc [Tue, 11 Jul 2017 12:30:14 +0000 (14:30 +0200)]
Remove merge conflict leftover
Fixes #900
Stephen Muth [Sat, 8 Jul 2017 00:01:03 +0000 (00:01 +0000)]
Respect HTTP_X_FORWARDED_HOST
alongside _PORT and _PROTO
Fixes #879
nodiscc [Tue, 4 Jul 2017 19:43:40 +0000 (21:43 +0200)]
doc: contributing: remove leftover link to wiki
nodiscc [Tue, 4 Jul 2017 19:37:30 +0000 (21:37 +0200)]
Merge pull request #772 from nodiscc/rtfd
Generate HTML documentation using MkDocs
nodiscc [Tue, 4 Jul 2017 19:30:50 +0000 (21:30 +0200)]
makefile: remove [[link]] -> [link](url) conversion logic
all links in documentation have been converted to standard markdown link syntax
nodiscc [Tue, 4 Jul 2017 19:30:31 +0000 (21:30 +0200)]
make htmlpages
nodiscc [Tue, 4 Jul 2017 19:26:27 +0000 (21:26 +0200)]
makefile: remove obsolete 'doc' target
official documentation can now be found in doc/md/
nodiscc [Tue, 4 Jul 2017 19:26:01 +0000 (21:26 +0200)]
doc: release: update doc generation instructions
nodiscc [Tue, 4 Jul 2017 19:24:44 +0000 (21:24 +0200)]
CONTRIBUTING.md: define new workflow for documentation edition and contributions
nodiscc [Sun, 18 Jun 2017 20:22:34 +0000 (22:22 +0200)]
doc: replace pandoc requirement with python3-venv
nodiscc [Sun, 18 Jun 2017 20:15:50 +0000 (22:15 +0200)]
move README contents to doc/md/index.md
nodiscc [Sun, 18 Jun 2017 04:32:30 +0000 (06:32 +0200)]
make htmlpages
nodiscc [Sun, 18 Jun 2017 04:29:15 +0000 (06:29 +0200)]
doc: rename "datastore hacks" -> "various hacks", move example scripts to gist.github.com, remove obsolete GH wiki _Sidebar.md
nodiscc [Thu, 26 Jan 2017 17:52:54 +0000 (18:52 +0100)]
Generate HTML documentation using MkDocs (WIP)
MkDocs is a static site generator geared towards building project documentation.
Documentation source files are written in Markdown, and configured with a single YAML file.
* http://www.mkdocs.org/
* http://www.mkdocs.org/user-guide/configuration/
Ref. #312
* remove pandoc-generated HTML documentation
* move markdown doc to doc/md/,
* mkdocs.yml:
* generate HTML doc in doc/html
* add pages TOC/ordering
* use index.md as index page
* Makefile: remove execute permissions from generated files
* Makefile: rewrite htmlpages GFM to markdown conversion using sed:
awk expression aslo matched '][' which causes invalid output on complex links with images or code blocks
* Add mkdocs.yml to .gitattributes, exclude this file from release archives
* Makefile: rename: htmldoc -> doc_html target
* run make doc: pull latest markdown documentation from wiki
* run make htmlpages: update html documentation
ArthurHoaro [Sun, 11 Jun 2017 12:14:59 +0000 (14:14 +0200)]
Merge pull request #890 from Lucas-C/taglist-cloud_improvments
Tagcloud/list improvments
ArthurHoaro [Sun, 11 Jun 2017 12:09:42 +0000 (14:09 +0200)]
Fix Firefox Social button in the default theme
is no longer required since the JS function is now in .
Also, include the trailing slash in the post URL.
Fixes #895
Lucas Cimon [Fri, 2 Jun 2017 15:58:26 +0000 (17:58 +0200)]
Tagcloud/list improvments
ArthurHoaro [Wed, 7 Jun 2017 20:37:01 +0000 (22:37 +0200)]
Merge pull request #894 from Lucas-C/bug893
Fixing "Uncaught TypeError" in shaarli.js - fix #893
Lucas Cimon [Wed, 7 Jun 2017 14:08:35 +0000 (16:08 +0200)]
Fixing "Uncaught TypeError" in shaarli.js - fix #893
ArthurHoaro [Wed, 31 May 2017 16:36:35 +0000 (18:36 +0200)]
Refactoring of CHANGETAG part to avoid duplicated code
ArthurHoaro [Wed, 31 May 2017 16:24:21 +0000 (18:24 +0200)]
Make sure that the tag exists before altering/removing it
Fixes #886
ArthurHoaro [Wed, 31 May 2017 15:54:46 +0000 (17:54 +0200)]
Merge pull request #882 from ArthurHoaro/feature/edit-timestamp
Add creation date when editing a link
ArthurHoaro [Wed, 31 May 2017 15:52:19 +0000 (17:52 +0200)]
Merge pull request #880 from ArthurHoaro/hotfix/allowed-protocols
Add a whitelist of protocols for URLs
ArthurHoaro [Wed, 31 May 2017 15:50:11 +0000 (17:50 +0200)]
Add creation date when editing a link
Also, alter the title on edition
Fixes #431
ArthurHoaro [Wed, 31 May 2017 15:44:19 +0000 (17:44 +0200)]
Merge pull request #884 from ArthurHoaro/hotfix/bookmarklet-url-limit
Selection is now limited to 2k characters using bookmarklets
ArthurHoaro [Sun, 28 May 2017 11:17:20 +0000 (13:17 +0200)]
Merge pull request #883 from ArthurHoaro/template/visited-link
Display visited links in grey
ArthurHoaro [Sun, 28 May 2017 11:04:31 +0000 (13:04 +0200)]
Bookmarklet size limit: increase to 4500 chars and add an alert warning
ArthurHoaro [Thu, 25 May 2017 14:45:08 +0000 (16:45 +0200)]
Selection is now limited to 2k characters using bookmarklets
to avoid having too large URL
Fixes #528
ArthurHoaro [Thu, 25 May 2017 14:30:37 +0000 (16:30 +0200)]
Display visited links in grey
Fixes #244