]> git.immae.eu Git - github/shaarli/Shaarli.git/log
github/shaarli/Shaarli.git
9 years agoMerge pull request #327 from virtualtam/travis/php7
VirtualTam [Sun, 23 Aug 2015 22:30:05 +0000 (00:30 +0200)] 
Merge pull request #327 from virtualtam/travis/php7

travis: add PHP 7 to the tested environments

9 years agotravis: add PHP 7 to the tested environments 327/head
VirtualTam [Fri, 21 Aug 2015 22:06:42 +0000 (00:06 +0200)] 
travis: add PHP 7 to the tested environments

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
9 years agoBump version to 0.5.1 v0.5.1
VirtualTam [Mon, 17 Aug 2015 22:35:42 +0000 (00:35 +0200)] 
Bump version to 0.5.1

Minor changes
 - fix 404 after editing a link while being logged out
 - update local documentation
 - improve timezone detection at installation
 - improve feed cache handling
 - improve URL cleanup for new links
 - add a link to the shaarli/shaarli DockerHub repository

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
9 years agoDoc: sync from Wiki, generate HTML
VirtualTam [Mon, 17 Aug 2015 22:33:25 +0000 (00:33 +0200)] 
Doc: sync from Wiki, generate HTML

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
9 years agoMerge pull request #314 from shaarli/clean-utm_term
VirtualTam [Sun, 16 Aug 2015 21:01:54 +0000 (23:01 +0200)] 
Merge pull request #314 from shaarli/clean-utm_term

clean utm_term url parameter

9 years agoREADME: add DockerHub badge
VirtualTam [Sun, 16 Aug 2015 12:50:16 +0000 (14:50 +0200)] 
README: add DockerHub badge

See [docker-shaarli](https://github.com/shaarli/docker-shaarli) for Dockerfiles and documentation

9 years agoLinks: refactor & improve URL cleanup 314/head
VirtualTam [Thu, 13 Aug 2015 23:14:07 +0000 (01:14 +0200)] 
Links: refactor & improve URL cleanup

Relates to #141
Relates to #133

Modifications
 - move URL cleanup to `application/Url.php`
 - rework the cleanup function
   - fragments: `#stuff`
   - GET parameters: `?var1=val1&var2=val2`
 - add documentation (APIs the params belong to)
 - add test coverage

Reference
 - http://php.net/parse_url
 - http://php.net/manual/en/language.oop5.magic.php#language.oop5.magic.tostring

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
9 years agoMerge pull request #309 from virtualtam/refactor/PageCache
VirtualTam [Thu, 13 Aug 2015 21:54:26 +0000 (23:54 +0200)] 
Merge pull request #309 from virtualtam/refactor/PageCache

CachedPage: move to a proper file, add tests

9 years agoCache: simplify cached content cleanup, improve tests 309/head
VirtualTam [Thu, 13 Aug 2015 19:39:51 +0000 (21:39 +0200)] 
Cache: simplify cached content cleanup, improve tests

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
9 years agoCachedPage: move to a proper file, add tests
VirtualTam [Thu, 9 Jul 2015 20:14:39 +0000 (22:14 +0200)] 
CachedPage: move to a proper file, add tests

Modifications
 - rename `pageCache` to `CachedPage`
 - move utilities to `Cache`
 - do not access globals
 - apply coding rules
 - update LinkDB and test code
 - add test coverage

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
9 years agoMerge pull request #301 from ArthurHoaro/edit-link-redirect
VirtualTam [Thu, 13 Aug 2015 21:47:05 +0000 (23:47 +0200)] 
Merge pull request #301 from ArthurHoaro/edit-link-redirect

Fixes #299: prevent 404 on '?edit_link' while logged out

9 years agoFixes #299: prevent 404 on '?edit_link' while logged out 301/head
ArthurHoaro [Wed, 29 Jul 2015 13:32:41 +0000 (15:32 +0200)] 
Fixes #299: prevent 404 on '?edit_link' while logged out

 - add a use case for edit_link in logged out part.
 - *really* prevent loops on login screen.

9 years agoMerge pull request #313 from virtualtam/install/timezone
VirtualTam [Wed, 5 Aug 2015 14:34:40 +0000 (16:34 +0200)] 
Merge pull request #313 from virtualtam/install/timezone

Installation: default to the server's timezone

9 years agoInstallation: default to the server's timezone 313/head
VirtualTam [Tue, 4 Aug 2015 16:31:16 +0000 (18:31 +0200)] 
Installation: default to the server's timezone

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>
9 years agoMerge pull request #294 from virtualtam/doc/update
VirtualTam [Tue, 4 Aug 2015 14:07:13 +0000 (16:07 +0200)] 
Merge pull request #294 from virtualtam/doc/update

Doc: sync from Wiki, generate HTML

9 years agoDoc: sync from Wiki, generate HTML 294/head
VirtualTam [Wed, 22 Jul 2015 03:02:10 +0000 (05:02 +0200)] 
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>
9 years agoMerge pull request #276 from virtualtam/tools/phpcs
VirtualTam [Fri, 31 Jul 2015 14:08:32 +0000 (16:08 +0200)] 
Merge pull request #276 from virtualtam/tools/phpcs

Add a generic rule to run PHPCS against different coding standards

9 years agoMerge pull request #303 from virtualtam/v0.5.0 v0.5.0
VirtualTam [Thu, 30 Jul 2015 09:43:43 +0000 (11:43 +0200)] 
Merge pull request #303 from virtualtam/v0.5.0

Bump version to 0.5.0

9 years agoBump version to 0.5.0 303/head
VirtualTam [Thu, 30 Jul 2015 09:20:51 +0000 (11:20 +0200)] 
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>
9 years agoAdd Requirements section in README (link to wiki).
ArthurHoaro [Fri, 24 Jul 2015 09:13:04 +0000 (11:13 +0200)] 
Add Requirements section in README (link to wiki).

Fixes #297

9 years agoMerge pull request #295 from Knah-Tsaeb/patch-1
Arthur [Thu, 23 Jul 2015 13:45:59 +0000 (15:45 +0200)] 
Merge pull request #295 from Knah-Tsaeb/patch-1

[fix]  #293 - Black thumbnails on picture wall after upgrade

9 years agoMerge pull request #289 from virtualtam/make-clean
VirtualTam [Wed, 22 Jul 2015 22:34:52 +0000 (00:34 +0200)] 
Merge pull request #289 from virtualtam/make-clean

Makefile: do not call `clean` before `test`

9 years ago[fix] #293 295/head
Knah Tsaeb [Wed, 22 Jul 2015 08:39:23 +0000 (10:39 +0200)] 
[fix]  #293

Black thumbnails on picture wall after upgrade #293

9 years agoMakefile: do not call `clean` before `test` 289/head
VirtualTam [Sat, 18 Jul 2015 09:56:41 +0000 (11:56 +0200)] 
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>
9 years agoMerge pull request #290 from virtualtam/travis-container
VirtualTam [Sat, 18 Jul 2015 11:42:15 +0000 (13:42 +0200)] 
Merge pull request #290 from virtualtam/travis-container

Travis: use the container-based infrastructure

9 years agoTravis: use the container-based infrastructure 290/head
VirtualTam [Sat, 18 Jul 2015 11:23:00 +0000 (13:23 +0200)] 
Travis: use the container-based infrastructure

See http://docs.travis-ci.com/user/migrating-from-legacy/

Signed-off-by: VirtualTam <virtualtam@flibidi.net>
9 years agoMerge pull request #271 from virtualtam/php53
Arthur [Wed, 15 Jul 2015 09:05:07 +0000 (11:05 +0200)] 
Merge pull request #271 from virtualtam/php53

PHP: ensure 5.3 compatibility

9 years agoPHP: ensure 5.3 compatibility, refactor timezone utilities 271/head
VirtualTam [Fri, 10 Jul 2015 23:29:12 +0000 (01:29 +0200)] 
PHP: ensure 5.3 compatibility, refactor timezone utilities

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>
9 years agoMakefile: add a generic rule to run PHPCS against different coding standards 276/head
VirtualTam [Sun, 12 Jul 2015 21:04:43 +0000 (23:04 +0200)] 
Makefile: 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>
9 years agoMerge pull request #257 from ArthurHoaro/tag-http-referer
VirtualTam [Sun, 12 Jul 2015 17:56:13 +0000 (19:56 +0200)] 
Merge pull request #257 from ArthurHoaro/tag-http-referer

Prevent redirection loop everytime we rely on HTTP_REFERER

9 years agoPrevent redirection loop everytime we rely on HTTP_REFERER: 257/head
ArthurHoaro [Mon, 6 Jul 2015 08:22:00 +0000 (10:22 +0200)] 
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

9 years agoEnglish mistake cf sebsauvage/Shaarli#221
Arthur [Sun, 12 Jul 2015 13:16:37 +0000 (15:16 +0200)] 
English mistake cf sebsauvage/Shaarli#221

9 years agoFixes warning 'Undefined index: searchtags' while filtering by tags.
ArthurHoaro [Sun, 12 Jul 2015 09:36:42 +0000 (11:36 +0200)] 
Fixes warning 'Undefined index: searchtags' while filtering by tags.

Happened if there were not any searchtags already present in the query.

9 years agoMerge pull request #262 from ArthurHoaro/dup-tags
Arthur [Sun, 12 Jul 2015 09:01:24 +0000 (11:01 +0200)] 
Merge pull request #262 from ArthurHoaro/dup-tags

Avoid tag duplicates

9 years agoAvoid tag duplicates 262/head
ArthurHoaro [Wed, 8 Jul 2015 14:28:31 +0000 (16:28 +0200)] 
Avoid tag duplicates

 * Prevent duplicate client side with awesomplete
 * Prevent duplicate server side (save_edit processing)

Fixes #261

9 years agoMerge pull request #268 from ArthurHoaro/dailrss-template
VirtualTam [Sat, 11 Jul 2015 17:09:52 +0000 (19:09 +0200)] 
Merge pull request #268 from ArthurHoaro/dailrss-template

Include the whole <item> in Daily RSS template

9 years agoMerge pull request #269 from virtualtam/fix/read-config
VirtualTam [Sat, 11 Jul 2015 10:48:24 +0000 (12:48 +0200)] 
Merge pull request #269 from virtualtam/fix/read-config

Fix: data/config.php was not imported

9 years agoInclude the whole <item> in dailyRSS 268/head
ArthurHoaro [Fri, 10 Jul 2015 13:41:59 +0000 (15:41 +0200)] 
Include the whole <item> in dailyRSS

Allow custom date format and title in templates.

Also a bit of code style review.

Fixes #182

9 years agoFix: data/config.php was not imported 269/head
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>
9 years agoMerge pull request #267 from virtualtam/linkdb/private-names
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

9 years agoLinkDB: prefix private members with an underscore 267/head
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>
9 years agoMerge pull request #255 from ArthurHoaro/config
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

9 years agoAll settings are now stored in config.php 255/head
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).

9 years agoMerge pull request #251 from virtualtam/linkdb/date-format
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

9 years agoLinkDB::filterDay(): check input date format 251/head
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>
9 years agoMerge pull request #264 from ArthurHoaro/daily-nav
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

9 years agoFixes #260: previous/next day links in daily 264/head
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.

9 years agoMerge pull request #254 from virtualtam/test/linkdb/datastore
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

9 years agoLinkDBTest: only check that the datastore is created and non-empty 254/head
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>
9 years agodoc: bump php requirement to php 5.4, fixes https://github.com/shaarli/Shaarli/issues/250
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

9 years agoMerge remote-tracking branch 'ArthurHoaro/default-links'
nodiscc [Fri, 26 Jun 2015 20:03:25 +0000 (22:03 +0200)] 
Merge remote-tracking branch 'ArthurHoaro/default-links'

9 years agoMerge remote-tracking branch 'virtualtam/linkdb/remove-globals'
nodiscc [Fri, 26 Jun 2015 20:03:10 +0000 (22:03 +0200)] 
Merge remote-tracking branch 'virtualtam/linkdb/remove-globals'

9 years ago[doc] sync doc with latest wiki, build HTML
nodiscc [Fri, 26 Jun 2015 19:56:43 +0000 (21:56 +0200)] 
[doc] sync doc with latest wiki, build HTML

9 years ago[doc] update CONTRIBUTING
nodiscc [Fri, 26 Jun 2015 19:54:54 +0000 (21:54 +0200)] 
[doc] update CONTRIBUTING

9 years agoduplicated id removed
nicolasm [Wed, 24 Jun 2015 03:35:36 +0000 (00:35 -0300)] 
duplicated id removed

9 years agoawesome.css restored. width bug fixed.
nicolasm [Wed, 24 Jun 2015 03:35:13 +0000 (00:35 -0300)] 
awesome.css restored. width bug fixed.

9 years agoMerge pull request #249 from fbartels/patch-1
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

9 years agoRestore compatability with php 5.3 249/head
Felix Bartels [Fri, 26 Jun 2015 14:57:07 +0000 (16:57 +0200)] 
Restore compatability with php 5.3

9 years agoLinkDB: do not access global variables 243/head
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>
9 years agoFixes unit tests: checking datastore filesize instead of hash. 238/head
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.

9 years agoChange fresh install default link
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.

9 years agomove escape() and sanitizeLink() to application/Utils.php
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

9 years agoMerge remote-tracking branch 'ArthurHoaro/input-escape' into next
nodiscc [Tue, 23 Jun 2015 22:51:38 +0000 (00:51 +0200)] 
Merge remote-tracking branch 'ArthurHoaro/input-escape' into next

Conflicts:
index.php

9 years agoLinkDB: add 'hidePublicLinks' parameter to the constructor
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>
9 years agoadd travis-ci.org build status to README
nodiscc [Tue, 23 Jun 2015 22:15:56 +0000 (00:15 +0200)] 
add travis-ci.org build status to README

9 years agoAdd link to 'Running unit tests wiki page'
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

9 years agoMerge remote-tracking branch 'nicolasdanelon/master' into next
nodiscc [Tue, 23 Jun 2015 18:45:15 +0000 (20:45 +0200)] 
Merge remote-tracking branch 'nicolasdanelon/master' into next

9 years agocursor pointer for label (ux improvement) 231/head
Nicolas Danelon [Tue, 23 Jun 2015 18:32:23 +0000 (15:32 -0300)] 
cursor pointer for label (ux improvement)

9 years agofix no javascript
Nicolas Danelon [Tue, 23 Jun 2015 18:30:13 +0000 (15:30 -0300)] 
fix no javascript

9 years agoPage title if there is a single link 233/head
ArthurHoaro [Tue, 23 Jun 2015 18:22:02 +0000 (20:22 +0200)] 
Page title if there is a single link
Fixes #232

9 years agoWorking on shaarli/Shaarli#224 228/head
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.

9 years agoUpdate awesomplete.css
Nicolas Danelon [Tue, 23 Jun 2015 14:22:11 +0000 (11:22 -0300)] 
Update awesomplete.css

9 years agofilter input search responsive fixed (mobile)
Nicolas Danelon [Tue, 23 Jun 2015 14:03:11 +0000 (11:03 -0300)] 
filter input search responsive fixed (mobile)

9 years agoadd tabindex 1/2 to search and tags fields
nodiscc [Tue, 23 Jun 2015 13:32:45 +0000 (15:32 +0200)] 
add tabindex 1/2 to search and tags fields

9 years agoMerge remote-tracking branch 'origin/doc-contributing'
nodiscc [Tue, 23 Jun 2015 13:11:17 +0000 (15:11 +0200)] 
Merge remote-tracking branch 'origin/doc-contributing'

9 years agoMerge remote-tracking branch 'ArthurHoaro/daily-date' into next
nodiscc [Tue, 23 Jun 2015 13:07:03 +0000 (15:07 +0200)] 
Merge remote-tracking branch 'ArthurHoaro/daily-date' into next

9 years agoMerge remote-tracking branch 'nicolasdanelon/master' into next
nodiscc [Tue, 23 Jun 2015 13:03:01 +0000 (15:03 +0200)] 
Merge remote-tracking branch 'nicolasdanelon/master' into next

9 years agore-add readDb() missing from previous merge
nodiscc [Tue, 23 Jun 2015 12:57:54 +0000 (14:57 +0200)] 
re-add readDb() missing from previous merge

9 years agoMerge remote-tracking branch 'virtualtam/test/link-db' into next
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

9 years agoMerge remote-tracking branch 'ArthurHoaro/search-tag-awesomplete' into next
nodiscc [Tue, 23 Jun 2015 12:18:31 +0000 (14:18 +0200)] 
Merge remote-tracking branch 'ArthurHoaro/search-tag-awesomplete' into next

9 years agoMerge remote-tracking branch 'virtualtam/travis' into next
nodiscc [Tue, 23 Jun 2015 12:18:04 +0000 (14:18 +0200)] 
Merge remote-tracking branch 'virtualtam/travis' into next

9 years agofix login desktop 230/head
nda [Fri, 19 Jun 2015 20:42:16 +0000 (17:42 -0300)] 
fix login desktop

9 years agologin enhance for mobile
nda [Fri, 19 Jun 2015 20:37:38 +0000 (17:37 -0300)] 
login enhance for mobile

9 years agoDaily page: date format in template 229/head
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.

9 years agoLinkDB: move to a proper file, add test coverage 218/head
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>
9 years agoCreate CONTIBUTING.md 223/head
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

9 years agoDo not load links if they're hidden (also fix shaarli/Shaarli#202) 222/head
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)

9 years agoAdd awesomplete to tag search shaarli/Shaarli#49 221/head
ArthurHoaro [Tue, 9 Jun 2015 12:23:28 +0000 (14:23 +0200)] 
Add awesomplete to tag search shaarli/Shaarli#49

9 years agoAdd Travis CI config 219/head
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>
9 years agosplit annoyingpatterns list on multpile lines, add new patterns for removal:
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

9 years agoMerge branch 'really-hide' of https://github.com/pikzen/Shaarli into next
nodiscc [Fri, 22 May 2015 19:07:00 +0000 (21:07 +0200)] 
Merge branch 'really-hide' of https://github.com/pikzen/Shaarli into next

9 years agoMerge remote-tracking branch 'Marsup/firefox-social' into next
nodiscc [Fri, 22 May 2015 19:04:36 +0000 (21:04 +0200)] 
Merge remote-tracking branch 'Marsup/firefox-social' into next

9 years agoAdd Firefox Social API to the tools. Fixes #101. 213/head
Marsup [Mon, 11 May 2015 16:42:54 +0000 (16:42 +0000)] 
Add Firefox Social API to the tools. Fixes #101.

9 years agoProperly hide all links 214/head
feula [Mon, 11 May 2015 17:55:59 +0000 (19:55 +0200)] 
Properly hide all links

>searchtags

9 years agoDisplay date as today if no articles published 210/head
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?)

9 years agodoc: add demo to README
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

9 years agochange wording and variable names for "Hide public links" feature
nodiscc [Fri, 10 Apr 2015 18:52:12 +0000 (20:52 +0200)] 
change wording and variable names for "Hide public links" feature

9 years agoMerge remote-tracking branch 'pikzen/disable-public' into next
nodiscc [Fri, 10 Apr 2015 18:30:33 +0000 (20:30 +0200)] 
Merge remote-tracking branch 'pikzen/disable-public' into next

9 years agoMerge remote-tracking branch 'ArthurHoaro/localecharset' into next
nodiscc [Fri, 10 Apr 2015 18:30:15 +0000 (20:30 +0200)] 
Merge remote-tracking branch 'ArthurHoaro/localecharset' into next

9 years agoMerge branch 'pandoc' into next
nodiscc [Fri, 10 Apr 2015 18:28:51 +0000 (20:28 +0200)] 
Merge branch 'pandoc' into next