]> git.immae.eu Git - github/shaarli/Shaarli.git/blame - CHANGELOG.md
Merge pull request #987 from ArthurHoaro/hotfix/security-issue
[github/shaarli/Shaarli.git] / CHANGELOG.md
CommitLineData
5eb72478
V
1# Change Log
2All notable changes to this project will be documented in this file.
3
4The format is based on [Keep a Changelog](http://keepachangelog.com/)
5and this project adheres to [Semantic Versioning](http://semver.org/).
6
d600040e
V
7## [v0.9.1](https://github.com/shaarli/Shaarli/releases/tag/v0.9.1) - 2017-08-23
8
9The documentation has been migrated to ReadTheDocs:
10- https://shaarli.readthedocs.io/
11- edits are submitted as pull requests
12
13### Added
14- Allow bulk link deletion
15- Display subtags in the tag cloud
16- Add an endpoint to refresh the token
17- Add a token on every page
18- Add a tag list view for management
19- Add Note bookmarklet
20- Add creation date when editing a link
21
22### Changed
23- Documentation:
24 - Generate static HTML documentation with [mkdocs](http://www.mkdocs.org/)
25 - Host documentation on [ReadTheDocs](http://www.mkdocs.org/)
26 - Update documentation structure
27 - Update Makefile targets to:
28 - Build the docs locally
29 - Include the generated docs in the release archives
30- Theme:
31 - Use the new theme as the default
32 - Rename the tag cloud template to `tag.cloud.html`
33 - Display visited links in grey
34 - Use only one search form in `linklist.html`
35 - Hide the "search links with these tags" option when an empty `searchtags` is passed to `tag.list.html`
36- Improve HTTP header handling when hosting Shaarli with Docker behind a reverse proxy
37- Searching for tags with an empty value returns untagged links only
38- Set Travis environment to `precise` until the new `trusty` environment is ready
39
40### Removed
41- Remove dead Pubsubhubbub code
42- Disable the GitHub wiki (see changed/documentation)
43- Remove Docker `dev` image and resources
44- Theme:
45 - Remove the bottom "Sort by" menu in `tag.list.html`
46
47### Fixed
48- Fix file existence check for `user.css`
49- Limit selection to 2k characters when using the bookmarklet
50- Fix JS error `uncaught type error`
51- Fix Firefox Social button
52- Use pinned PHP dependencies when generating release archives
53- Make sure that the tag exists before altering/removing it
54
55### Security
56- Add a whitelist for protocols for URLs
57
17c9ac7c 58
22ff7414 59## [v0.9.0](https://github.com/shaarli/Shaarli/releases/tag/v0.9.0) - 2017-05-07
00670b20 60
36dcf997
V
61This release introduces the REST API, and requires updating HTTP server
62configuration to enable URL rewriting, see:
63- https://shaarli.github.io/api-documentation/
cc8f572b 64- https://shaarli.readthedocs.io/en/master/Server-configuration/
36dcf997 65
a0df0651 66**WARNING**: Shaarli now requires PHP 5.5+.
423ab028 67
00670b20 68### Added
36dcf997
V
69- REST API v1
70 - [Slim](https://www.slimframework.com/) framework
71 - [JSON Web Token](https://jwt.io/introduction/) (JWT) authentication
72 - versioned API endpoints:
73 - `/api/v1/info`: get general information on the Shaarli instance
74 - `/api/v1/links`: get a list of shaared links
22ff7414 75 - `/api/v1/history`: get a list of latest actions
94cddf7b
V
76Theming:
77 - Introduce a new theme
78 - Allow selecting themes/templates from the configuration page
89284d55 79 - New/Edit link form can be submitted using CTRL+Enter in the textarea
82941956 80 - Shaarli version is displayed in the footer when logged in
36dcf997
V
81- Add plugin placeholders to Atom/RSS feed templates
82- Add OpenSearch to feed templates
83- Add `campaign_` to the URL cleanup pattern list
84- Add an AUTHORS file and Makefile target to list authors from Git commit data
48417aed 85- Link imports are now logged in `data/` folder, and can be debug using `dev.debug=true` setting.
22ff7414
A
86- `composer.lock` is now included in git file to allow proper `composer install`
87- History mechanism which logs link addition/modification/deletion
18e67967 88
00670b20 89### Changed
36dcf997 90- Docker: enable nginx URL rewriting for the REST API
94cddf7b
V
91- Theming:
92 - Move `user.css` to the `data` folder
93 - Move default template files to a subfolder (`default`)
94 - Rename the legacy theme to `vintage`
89284d55
A
95 - Private only filter is now displayed as a search parameter
96 - Autocomplete: pre-select the first element
22ff7414
A
97 - Display daily date in the page title (browser title)
98 - Timezone lists are now passed as an array instead of raw HTML
36dcf997
V
99- Move PubSubHub to a dedicated plugin
100- Coding style:
101 - explicit method visibility
102 - safe boolean comparisons
103 - remove unused variables
104- The updater now keeps custom theme preferences
105- Simplify the COPYING information
89284d55
A
106- Improved client locale detection
107- Improved date time display depending on the locale
108- Partial namespace support for Shaarli classes
22ff7414
A
109- Shaarli version is now only present in `shaarli_version.php`
110- Human readable maximum file size upload
111
36dcf997 112
36dcf997
V
113### Removed
114- PHP < 5.5 compatibility
22ff7414 115- ReadItYourself plugin
a0df0651 116
00670b20 117### Fixed
36dcf997
V
118- Ignore generated release tarballs
119- Hide default port when behind a reverse proxy
120- Fix a typo in the Markdown plugin description
121- Fix the presence of empty tags for private tags and in search results
122- Fix a fatal error during the install
123- Fix permalink image alignment in daily page
124- Fix the delete button in `editlink`
94cddf7b
V
125- Fix redirection after link deletion
126- Do not access LinkDB links by ID before the Updater applies migrations
127- Remove extra spaces in the bookmarklet's name
89284d55
A
128- Piwik plugin: Piwik URL protocol can now be set (http or https)
129- All inline JS has been moved to dedicated JS files
22ff7414 130- Keep tags after login redirection
00670b20 131
94cddf7b
V
132### Security
133- Markdown plugin: escape HTML entities by default
90d4ed98 134
90d4ed98 135
94cddf7b
V
136## [v0.8.4](https://github.com/shaarli/Shaarli/releases/tag/v0.8.4) - 2017-03-04
137### Security
138- Markdown plugin: escape HTML entities by default
139
140## [v0.8.3](https://github.com/shaarli/Shaarli/releases/tag/v0.8.3) - 2017-01-20
141### Fixed
90d4ed98
A
142- PHP 7.1 compatibility: add ConfigManager parameter to anti-bruteforce function call in login template.
143
fcb0d86b 144## [v0.8.2](https://github.com/shaarli/Shaarli/releases/tag/v0.8.2) - 2016-12-15
fcb0d86b
A
145### Fixed
146
147- Editing a link created before the new ID system would change its permalink.
00670b20
A
148
149## [v0.8.1](https://github.com/shaarli/Shaarli/releases/tag/v0.8.1) - 2016-12-12
6c1be5bc
A
150
151> Note: this version will create an automatic backup of your database if anything goes wrong.
152
ca0ed5ca 153### Added
c47d9723 154- Add CHANGELOG.md to track the whole project's history
ae04803b 155- Enable Composer cache for Travis builds
c47d9723
V
156- Save the last edition date for shaares and use it in Atom/RSS feeds
157- Plugins:
158 - Add an [Isso](https://posativ.org/isso/) plugin to enable user comments on permalinks
159 - Allow defining init functions, e.g. for performing checks and error processing
b92287b6
A
160 - Add a Piwik plugin for analytics.
161 - Markdown: add warning notice regarding HTML rendering
162- Meta tag to *not* send the referrer to external resources.
c47d9723 163
ca0ed5ca 164### Changed
6c1be5bc
A
165- Link ID complete refactoring:
166 - Links now have a numeric ID instead of dates
167 - Short URLs are now created once and can't change over time (previous URL are kept)
168- Templates:
169 - Changed placeholder behaviour for: `buttons_toolbar`, `fields_toolbar` and `action_plugin`
170 - Cleanup `{loop}` declarations in templates
171 - Tools: hide Firefox Social button when not in HTTPS
172 - Firefox Social: show Shaarli's title when shaaring using Firefox Social
ca0ed5ca
V
173- Release archives now have the same structure as GitHub-generated archives:
174 - archives contain a `Shaarli` directory, itself containing sources + dependencies
175 - the tarball is now gzipped
b92287b6
A
176- Plugins:
177 - Markdown: Parsedown library is now imported through Composer
7af9a418 178- Minor code cleanup: PHPDoc, spelling, unused variables, etc.
68579ad5 179- Docker: explicitly set the maximum file upload size to 10 MiB
c47d9723 180
ca0ed5ca 181### Fixed
c47d9723
V
182- Fix the server `<self>` value in Atom/RSS feeds
183- Plugins:
184 - Tools: only display parameter description when it exists
185 - archive.org: do not propose archival of private notes
b92287b6
A
186 - Markdown:
187 - render links properly in code blocks
188 - bug regarding the `nomarkdown` tag
189 - W3C compliance
fbc28ff1 190- Use absolute URL for hashtags in RSS and ATOM feeds
68579ad5 191- Docker: specify the location of the favicon
6c1be5bc 192- ATOM feed: remove new line between content tag and data
c47d9723 193
ca0ed5ca 194### Security
c47d9723
V
195- Allow whitelisting trusted IPs, else continue banning clients upon login failure
196
197
5eb72478
V
198## [v0.8.0](https://github.com/shaarli/Shaarli/releases/tag/v0.8.0) - 2016-10-12
199Shaarli now uses [Composer](https://getcomposer.org/) to handle its dependencies.
17c9ac7c
V
200Please use our release archives, or follow the
201[installation documentation](https://github.com/shaarli/Shaarli/wiki/Download-and-Installation).
5eb72478
V
202
203### Added
204- Composer is required to resolve Shaarli's PHP dependencies
205- Shaarli now supports `#hashtags`
206- Firefox social share now uses selected text as a description
207- Plugin parameters can have a description in each plugin's `.meta` file
208
209### Changed
210- Configuration is now stored as a JSON file
211- Previous configuration format will be automatically updated (PHP -> JSON)
212- Shaarli now defaults to cURL to fetch shaare titles
213- URL cleanup: remove `PHPSESSID` parameter
214- `nomarkdown` tag is no longer private, and now affects visitors
215- Cleanup template indentation
216- Rewrite bookmark import using a generic Netscape parser
217
218### Removed
219- Shaarli no longer references Delicious in its description
220
221### Deprecated
222- Shaarli configuration is not held as PHP globals anymore
223
224### Fixed
225- Ignore case for tags in autocompletion and cloud tag
226- Avoid generating empty tags
227- Fix a Dockerfile syntax error
228
229### Security
230- Fixed a bug preventing to change password
231- XSRF token now generated each time a page is rendered
232
17c9ac7c 233
5b750090
V
234## [v0.7.1](https://github.com/shaarli/Shaarli/releases/tag/v0.7.1) - 2017-03-08
235### Security
236- Markdown plugin: escape HTML entities by default
237
5eb72478
V
238## [v0.7.0](https://github.com/shaarli/Shaarli/releases/tag/v0.7.0) - 2016-05-14
239### Added
240- Adds an option to encode redirector URL parameter
241- Atom/RSS feeds now support Markdown formatting, and plugins in general
242- Markdown: use the tag `.nomarkdown` to avoid markdown processing
243- Prefill the login field when the authentication has failed
244- Show a private links counter
245
246### Changed
247- Allow to use the bookmarklet in Firefox reader view (URL clean up)
248- Improve tagcloud font size
249- Improve title retrieving
250- Markdown: inline code background color
251- Refactor Netscape bookmark export
252- Refactor Atom/RSS feed generation
253
254### Removed
255- Remove delicious from Shaarli description
256
257### Fixed
258- Fix bad login redirections causing a 404 in a few cases
259- Fix tagcloud font-size with French locale
260- Don't display empty tags in tag search
261- Fix Awesomeplete conflicts with jQuery
262- Fix UTC timezone selection
263- Fix a bug preventing to import notes in browsers from bookmarks export
264- Don't redirect to ?post if ?addlink is reached while logged out
265
17c9ac7c 266
5eb72478
V
267## [v0.6.5](https://github.com/shaarli/Shaarli/releases/tag/v0.6.5) - 2016-03-02
268### Fixed
17c9ac7c
V
269- Fixes a regression generating an unnecessary warning (language in HTTP request)
270- Fixes a bug where going through multiple reverse proxy could generate malformed URL
271- Markdown: Fixes a bug where empty description blocks were displayed
272
5eb72478
V
273
274## [v0.6.4](https://github.com/shaarli/Shaarli/releases/tag/v0.6.4) - 2016-02-28
275### Added
276- Add an updater class to automate user data upgrades
277- Plugin admin page: adds a label for checkboxes and improve name display
278- Plugin Wallabag: API version can be specified in plugin admin page
279
280### Changed
281- Better tag cloud sorting, including special chars (`a > E > é > z`)
282- Autolocale now sets all locale categories, not just time
283- Use PHP's DateTime object instead of custom functions
284- Plugin hooks: process includes before header/footer
285- Markdown plugin: better styles for `<code>` and `<pre>` tags
286- Improve searching:
287 - search terms are now considered separated and won't only return exact results anymore
288 - exact search can be done with quotes `"this exact sentence"`
289 - search supports excluded terms starting a dash `-exclude`
290 - implement crossed search: terms + tags
291 - all of them combined across all shaare fields
292- New tag behaviour:
293 - tags starting with a dash will be renamed without it
294 - tags starting with a dot `.` will be hidden unless the user is logged in
295
296### Fixed
297- Fix Markdown plugin escape issues (code/quote blocks, etc.)
298- Link description aren't trimmed anymore to allow markdown format at the beginning of a shaare
299- Fixes plugin admin redirection page on error
300
301### Security
302- Fix a bug where non initialized variables were causing a warning
303- Fix a bug where saving a link after edit could cause a 404 error
304
17c9ac7c 305
5eb72478
V
306## [v0.6.3](https://github.com/shaarli/Shaarli/releases/tag/v0.6.3) - 2016-01-31
307### Added
308- Plugins administration page
309- Markdown plugin added for shaares description
310- Docker: Dockerfile is now in the main git repository and improved
311- Add a `.gitattributes` to ease repository management
312- Travis: include file permission checks
313
314### Changed
315- Auto retrieve of title know works with websites (HTTPS, follow redirections, etc.)
316- 404 page is now handled in a template
317- Date in log files updated to work with fail2ban
318- Wallabag: support of Wallabag v2 and minor fixes
319- Link search refactoring
320- Logging function refactoring
321
322### Fixed
323- Fix a bug where renaming a tag was causing a 404
324- Fix a bug allowing to search blank terms
325- Fix a bug preventing to remove a tag with special chars when searching
326
327
328## [v0.6.2](https://github.com/shaarli/Shaarli/releases/tag/v0.6.2) - 2015-12-23
329### Changed
330- Plugins: new footer hook
331- Plugins: improve QR code
332- Cleanup templates
333
334### Fixed
335- Plugins: use the actual link URL to generate QR codes
336- Templates: missing/erroneous page titles
337- Templates: missing variables resulting in PHP errors
338
339### Security
340- Fix invalid file permissions (remove executable bit)
341
342
343## [v0.6.1](https://github.com/shaarli/Shaarli/releases/tag/v0.6.1) - 2015-12-01
344### Added
345- Add OpenSearch support
346- Add a Doxygen makefile target
347- Tools: add fine-grained file/directory permission checks (installation)
348
349### Changed
350- Tools: check the 'stable' branch for new versions (updates)
351- Cleanup: introduce an `ApplicationUtils` class
352
353### Removed
354 - Cleanup: remove `json_encode()` function (built-in since PHP 5.2)
355
356### Fixed
357 - Auto-complete more than one tag
358 - Bookmarklet: support titles containing quotes
359 - URL encode links when setting a redirector
360
17c9ac7c 361
5eb72478
V
362## [v0.6.0](https://github.com/shaarli/Shaarli/releases/tag/v0.6.0) - 2015-11-18
363### Added
364- Introduce a plugin system
365- Add a demo_plugin
366- Add plugins:
367 - addlink_toolbar
368 - archiveorg
369 - playvideos
370 - qrcode
371 - readityourself
372 - wallabag
373
374### Changed
375- Coding style
376
377### Fixed
378- Adding a new link now returns the correct anchor in the URL
379- Set default file permissions
380
381
382## [v0.5.4](https://github.com/shaarli/Shaarli/releases/tag/v0.5.4) - 2015-09-15
383### Added
384- HTTPS: support being served behing an SSL-enabled proxy
385
386### Changed
387- HTTP/Server utilities: refactor & add test coverage
388- Project & documentation:
389 - improve/rewrite `README.md`
390 - update contributor list
391 - update `index.php` header
392
393### Fixed
394- PHP session IDs: handle hash algorithms and bits per char representations
395
396
397## [v0.5.3](https://github.com/shaarli/Shaarli/releases/tag/v0.5.3) - 2015-09-02
398### Fixed
399- Fix a bug that could prevent user to login
400
17c9ac7c 401
5eb72478 402## [0.5.3](https://github.com/shaarli/Shaarli/releases/tag/0.5.3) - 2015-09-02
17c9ac7c 403This release has been YANKED as it points to a tag that does not follow our naming convention. Please use `v0.5.3` instead
5eb72478
V
404
405### Fixed
406- Allow uppercase letters in PHP sessionid format
407
17c9ac7c 408
5eb72478
V
409## [v0.5.2](https://github.com/shaarli/Shaarli/releases/tag/v0.5.2) - 2015-08-31
410### Added
411- Add PHP 7 to Travis platforms
412
413### Changed
414- Also extract HTTPS page metadata (title)
415
416### Fixed
417- Fix regression preventing to load LinkDB info when adding an existing link
418
419### Security
420- Fix Full Path Disclosure upon cookie forgery
421
17c9ac7c 422
5eb72478
V
423## [v0.5.1](https://github.com/shaarli/Shaarli/releases/tag/v0.5.1) - 2015-08-17
424### Added
425- Add a link to the shaarli/shaarli DockerHub repository
426
427### Changed
428- Update local documentation
429- Improve timezone detection at installation
430- Improve feed cache handling
431- Improve URL cleanup for new links
432
433### Fixed
434- Fix 404 after editing a link while being logged out
435
17c9ac7c 436
5eb72478
V
437## [v0.5.0](https://github.com/shaarli/Shaarli/releases/tag/v0.5.0) - 2015-07-31
438### Added
439- Add Firefox Social API
440- Start code refactoring:
441 - add unit test coverage
442 - add Travis integration
443
444### Changed
445- Search/Filter by tag fieds can now be accessed quickly with the `Tab` key
446- Update documentation
447- Remove duplicate tags in links
448- Remove annoying URL patterns
449- Start code refactoring:
450 - move all settings to `data/config.php`
451 - refactor Config, LinkDB, TimeZone, Utils
452
453### Fixed
454- Fix locale handling
455- Fix note URLs
456- Fix page redirections
457- Fix daily RSS browsing
458- Fix title display
459- Restore compatibility with PHP 5.3
460
461### Security
462- Fix links not being hidden when `HIDE_PUBLIC_LINKS` is set
463
17c9ac7c 464
5eb72478
V
465## [v0.0.45beta](https://github.com/shaarli/Shaarli/releases/tag/v0.0.45beta) - 2015-03-16
466### Fixed
467- Fix improperly displayed Unicode character
468- Fix incorrect font size for "Add link" input field
469
17c9ac7c 470
5eb72478
V
471## [v0.0.44beta](https://github.com/shaarli/Shaarli/releases/tag/v0.0.44beta) - 2015-03-15
472### Added
473- Add a Makefile to run static code checkers
474- Add local documentation (help link in page footer)
475- Use awesomplete library for autocompletion
476- Use bLazy.js library for images lazy loading
477- New 'Add Note' bookmarklet to immediatly open a note (text post) compose window
478
479### Changed
480- Theme improvements and cleanup (menu, search fields, icons, linklist...)
481- Allow 'javascript:' links sharing (bookmarklets)
482- Make update check optional
483- Redirect to homepage after adding a link via "Add Link" dialog
484- Remove more annoying URL parameters for shared links
485- Code cleanup
486
487### Removed
488- Remove jQuery
489
490### Security
491- Don't disclose version to visitors (shaarli-version.txt)
492
17c9ac7c 493
5eb72478
V
494## [v0.0.43beta](https://github.com/shaarli/Shaarli/releases/tag/v0.0.43beta) - 2015-02-20
495### Added
496- Title button link URL is now configurable
497- RainTPL's TMP and TPL directories path are now configurable
498- Displayed URLs for each link are now clickable links
499- Show links timestamps in Daily view
500
501### Changed
502- Automatically prepend "Note:" to title of self-posts (posts not pointing to an URL)
503- Make ATOM toolbar button optional (`SHOW_ATOM` configuration variable)
504- Optional archive.org links for each Shaarli link (`ARCHIVE_ORG` option)
505- Thumbnails: force HTTPS when possible
506- Improve tag cloud font scaling
507- Allow pointing RSS items to the permalink instead of the direct URL (`ENABLE_RSS_PERMALINKS` option)
508- Update JS libraries and add version numbers in filenames
509- Updates to README and footer
510
511### Fixed
512- Fix problems when running Shaarli behind a reverse proxy (invalid RSS feed URL)
513- Update check now checks against the community fork version
f1f1156d 514- Include `cache/`, `data/`, `pagecache/` and `tmp/` directories in the repository
5eb72478
V
515- Fix duplicate tag search returning no results
516- Fix unnecessary 404 error on "Add link" when the user is logged out
517- Fixes to copyright/licensing information and unlicensed media
518- Fixes for tag cloud invalid links
519- Coding style fixes/cleanup
520- Fix redirection after deleteing a link leading to a 404 error
521- Shaarli's HTML is now W3C-compliant
522- Search now works with Unicode characters
523
524### Security
525- Do not leak server's PHP version and Shaarli's full path on errors
526- Prevent Shaarli from sending a lot of duplicate cookies
31081154 527
17c9ac7c 528
31081154
V
529## [v0.0.42beta](https://github.com/shaarli/Shaarli/releases/tag/v0.0.42beta) - 2014-07-27
530### Added
531- Add QRCode Javascript library
532- Allow importing bookmarks with the same timestamp (hack)
533- Allow putting a description in the bookmarklet URL
534- Add `json_encode()` implementation for PHP<5.2
535- Highlight search results
536
537### Changed
538- Improve 'Stay signed in' behaviour
539- Improve `smallHash()`
540- Refactor QRCode generation
541- Update Javascript lazyloading
542- Update CSS
543
544### Removed
545- Remove jQuery from almost all pages
546
547### Fixed
548- Fix overlapping tags
549- Fix field foxus in the bookmarklet
550- Fix error message when `data/` is not writable
551- Fix HTML generation
552
553### Security
554- Fix XSS flaw
555
17c9ac7c 556
31081154
V
557## [v0.0.41beta](https://github.com/shaarli/Shaarli/releases/tag/v0.0.41beta) - 2013-03-08
558### Added
559- Add HTTPS to the allowed protocols
560- Add support for magnet links in link descriptions
561- Allow creating new links as private by default
562- Allow disabling jQuery
563- Check write permissions
564- Check session support before installation
565
566### Changed
567- Improve token security
568- RSS feed: allow inverting links/permalinks
569
570### Fixed
571- Fix display issues during installation
572- Fix popup redirection after login failure
573- Fix RSS formatting for Thunderbird
574- Fix thumbnail creation
575- Fix cache purge
576
577### Security
578- Fix login issue with WebKit browsers
579
17c9ac7c 580
31081154
V
581## [v0.0.40beta](https://github.com/shaarli/Shaarli/releases/tag/v0.0.40beta) - 2013-02-26
582Initial release on GitHub.
f1f1156d 583
17c9ac7c 584
f1f1156d
V
585## [v0.0.40beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2012-08-24
586### Added
587- Flickr thumbnail now also support albums, galleries and users
17c9ac7c
V
588- Add a configuration option to disable session cookie protection
589 Check this if your get disconnected often or your IP address changes often
f1f1156d
V
590
591### Removed
592- Removed the xml comment in cached RSS/ATOM feed
17c9ac7c 593 (although W3C-compliant, this may cause problems in some feed readers)
f1f1156d
V
594
595### Fixed
596- A bug in the RSS cache would present old items as new in some cases
17c9ac7c
V
597- A small bug (non-initialized variable) in page cache cleaning
598- Proper "Nothing found" message when search returns no results
599- No more 404 error when searching with empty input
600- Flickr thumbnails are back (Flickr has made some changes to their domains)
f1f1156d
V
601
602## [v0.0.39beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2012-08-10
603### Added
17c9ac7c
V
604- A cache for RSS feed, ATOM feed and Daily RSS feed, because these URLs
605 are massively hammered. Cache is automatically purged whenever the database
606 is changed. This will reduce server load. I may add cache to other pages later.
f1f1156d
V
607
608### Changed
17c9ac7c
V
609- No more global `$LINKSDB` (Yuk)
610- Background color was removed when hovering a link
f1f1156d
V
611
612### Fixed
17c9ac7c
V
613- Small bug corrected in config screen on timezones
614- Calling a non-existing permalink now returns a crude 404 error instead of 200 (OK)
615 This is done on purpose
616- The `shaarli` session cookie now has a proper path
f1f1156d 617 Thus you can now install several Shaarlis on the same server in different paths,
17c9ac7c
V
618 and each will have its session
619- Now when you delete a link, you go back the same page/search parameters you were on
620- Restore previously removed `error_get_last()`, to ensure PHP 5.1 compatibility
f1f1156d 621 (Yes, now it works on free.fr hosting)
17c9ac7c
V
622- Added `dialog=1` in bookmarklet code for some browsers
623
f1f1156d
V
624
625## [v0.0.38beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2012-02-06
626### Added
17c9ac7c
V
627- Automatic creation of the `tmp` directory with proper rights (for RainTPL)
628- When you click the key to see only private links, it turns yellow
f1f1156d
V
629
630### Changed
631- The "Daily" page now automatically skips empty days.
632
633### Fixed
17c9ac7c
V
634- Corrected the tag encoding (there was a bug when selecting a second tag which contains accented characters)
635
f1f1156d
V
636
637## [v0.0.37beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2012-02-01
638### Added
17c9ac7c
V
639- Basic CSS for mobiles, which makes Shaarli //much// more usable on mobile devices
640- Picture wall no more instantly kills your browser. Now it uses
641 [lazy image loading](http://www.appelsiini.net/projects/lazyload);
642 the pictures are loaded only as you scroll the page.
643 This will reduce browser memory usage (especially on mobile devices),
644 as well as server load.
645 If you have javascript disabled, the page will still work as before
646 (all images loaded at once)
647- RSS feed for the "Daily" page. 1 RSS entry per day, with all links of that day.
648 RSS feed provides the last 7 days (only non-empty days are returned).
649- In link list, added an icon to see only private links. Click to toggle (only private / all)
650
f1f1156d
V
651
652## [v0.0.36beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2012-01-25
653### Added
654- Shaarli licence in COPYING
655
656### Changed
17c9ac7c 657- Display adjustments in "Daily" page
f1f1156d
V
658
659### Fixed
17c9ac7c 660- Improper text color in install form
f1f1156d
V
661- Error in QRCode url (missing '?')
662
17c9ac7c 663
f1f1156d
V
664## [v0.0.35beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2012-01-25
665### Fixed
17c9ac7c
V
666- Corrected a bug introduced in 0.0.34 which would improperly preprend data to URLs
667
f1f1156d
V
668
669## [v0.0.34beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2012-01-25
670### Added
17c9ac7c 671- There is now a QR-Code of each permalink to easily open a link on your smartphone
f1f1156d 672- Protocols `file:` and `apt:` are now also converted to clickable links (patch by Francis Chavanon)
17c9ac7c 673- Thumbnail support for http://xkcd.com/ (patch by Emilien Klein)
f1f1156d 674- Thumbnail support for http://pix.toile-libre.org/
17c9ac7c
V
675- Well I had _some_ mercy for users with antique browsers (IE) which do not have
676 support for gradients: I added a few `background-color`
677- First version of the "Shaarli Daily", a page showing all links of a specific day.
678 By default, you see the links of the previous day.
679 There is still work to do on this page (error checking, better navigation (calendar?),
680 RSS feed, CSS for mobile and printing...)
f1f1156d
V
681
682### Changed
17c9ac7c
V
683- Upgraded bundled versions of jQuery (1.7.1) and jQuery UI (1.8.17)
684- Upgraded bundled version of RainTPL (2.7)
685- Changed HTTPS detection code
f1f1156d
V
686
687### Fixed
17c9ac7c
V
688- In link edition, you can now click the word "Private" to check the box
689- Clicking a tag would not work properly if the tag contained special characters (like +)
690- Added proper jQuery licence (shame on me)
691
f1f1156d
V
692
693## [v0.0.33beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2012-01-17
694### Added
695- Shaarli packaged to ease Linux distributions integration
17c9ac7c
V
696 As a simple user, you do not need to cope with these versions
697 Future releases of Shaarli will also be customized and published in these directories
f1f1156d
V
698 Differences with the standard Shaarli version:
699 - deb:
700 - .tar.gz instead of .zip
701 - COPYING licence file added
17c9ac7c 702 - jQuery/jQuery-UI libraries removed to cope with Debian rules
f1f1156d
V
703 This version links to the libs hosted at http://code.jquery.com
704 - rpm:
17c9ac7c 705 - sources located in a subdirectory with the same name as the zip file
f1f1156d
V
706 - COPYING licence file added
707 - WARNING: When downloading the .tar.gz, always use wget (and not your browser),
17c9ac7c 708 otherwise the .tar.gz will be corrupted
f1f1156d
V
709
710### Fixed
17c9ac7c 711- ATOM feed validates again
f1f1156d
V
712
713### Security
17c9ac7c
V
714- XSS vulnerability patched (thanks to Stanislas D.!)
715
f1f1156d
V
716
717## [v0.0.32beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2011-12-16
718### Added
17c9ac7c
V
719- Better check on URL parameters (patch by gege2061)
720- Add `max-height` and `overflow:auto` attributes so that content can be scrolled if too large
f1f1156d
V
721
722### Changed
17c9ac7c
V
723- HTML generation moved to RainTPL templates (in the `tpl/` directory)
724- Better detection of HTTPS (patch by gege2061)
725- In RSS/ATOM feeds, the GUID is now the permalink instead of the final URL (patch by gege2061)
726- Jerrywham CSS patch included
727- Multiple spaces are now respected in description.
728 Thus you can use Shaarli as a personal pastebin (for posting source code, for example).
f1f1156d
V
729
730### Removed
17c9ac7c 731- Page time generation was removed
f1f1156d
V
732
733### Fixed
17c9ac7c
V
734- Tab order changed in login screen
735- Permalinks now work even if additional parameters have been added
736 (e.g. `/?E8Yj2Q&utm_source=blablabla...`)
737- user.css is included only if the file is present
738 (This prevents a useless CSS include which makes a harmless but useless 404 error.)
739
f1f1156d
V
740
741## [v0.0.31beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2011-11-29
742### Added
743- Support for TED Talks (ted.com/talks) thumbnails (patch by Emilien K.)
17c9ac7c
V
744- partial [patch](http://www.idleman.fr/blog/?p=508) by Idleman: Better design consistency, icon on private links. In-page popup was not included because it causes problem on some websites
745- Support for bookmark files without ADD_DATE attributes
746- Logo is clickable
747- `user.css` can be added to overload Shaarli base CSS.(patch by Jerrywham).
748 Just put `user.css` in the same directory as shaarli.css.
749 Example: `<code css>#pageheader { background: blue; }</code>`
750 Please note that Shaarli CSS are not stable and may completely change on each version
f1f1156d
V
751
752### Changed
753- Edit and Delete buttons in link list were replaced with icons. (patch by Jerrywham)
754
755### Fixed
756- Better error handling in thumbnail generation (patch by Emilien K.)
17c9ac7c
V
757- The top menu is no longer displayed in bookmarklet popup
758- Bookmark which have the exact same date/time are now correctly imported.
759 Most remaining import problems should be solved now
760- Comment in Shaarli export moved to beginning of file to prevent clash with last link description
761
f1f1156d
V
762
763## [v0.0.30beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2011-11-18
764### Added
17c9ac7c 765- Add a small `delete` button in link list (after the `edit` button)
f1f1156d
V
766
767### Fixed
17c9ac7c
V
768- Moved the call to PubSubHub
769
f1f1156d
V
770
771## [v0.0.29beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2011-11-18
772### Fixed
17c9ac7c
V
773- Corrected a bug introduced in v0.0.28beta
774 (there was an error if you use the bookmarklet and you're not logged in)
775
f1f1156d
V
776
777## [v0.0.28beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2011-11-17
778### Added
17c9ac7c
V
779- Thumbnail support for youtu.be URLs (YouTube short url service)
780- PubSubHub protocol support (from http://aldarone.fr/les-flux-rss-shaarli-et-pubsubhubbub/).
781 Warning: This was not tested. You need to set your hub url in
782 `$GLOBALS['config']['PUBSUBHUB_URL']` and put the official client (`publisher.php`)
783 in the same directory as Shaarli's `index.php`
784- RSS and ATOM feeds now also contain tags (in `category` tags, as per their
785 respective specifications)
f1f1156d
V
786
787### Changed
788- New Shaarli theme and logo by Idle (http://www.idleman.fr/blog/?p=469)
17c9ac7c
V
789- In picture wall, pictures point to Shaarli permalink instead of final URL.
790 This way, users can read the description.
791- In RSS/ATOM feeds, guid and link URL of permalinks are now proper absolute URLs
792- In RSS/ATOM feeds, URLs are now clickable
793- Rename `http_parse_headers()` to `http_parse_headers_shaarli()` to prevent
794 name collision with some PHP extensions
f1f1156d
V
795
796### Fixed
17c9ac7c
V
797- Thumbnails removed for imgur.com/a/ URLs (Thumbnails are not available for albums on imgur)
798- Shaarli now correctly only tries to get thumbnails for vimeo video URLs
799- Fix a bug in imgur.com URLs handling that would cause some thumbnails not to appear
800- The search engine would not return a result if the word to search was the first in description
801- Extracted title is now correct if the page has two `title` html tags
f1f1156d 802
f1f1156d
V
803
804## [v0.0.27beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2011-10-18
805### Added
17c9ac7c
V
806- Add a picture wall, which can be filtered too: it will use the same filters
807 (tags,text search) as current page when clicked.
808
f1f1156d
V
809
810## [v0.0.26beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2011-10-17
811### Changed
17c9ac7c 812- Made permalink more visible (smallHash)
f1f1156d
V
813
814### Fixed
17c9ac7c
V
815- Removed extras space in description when URLs are converted to clickable links
816- Thumbnail for subreddit imgur urls (/r/...) were corrected (thanks to Accent Grave)
817
f1f1156d
V
818
819## [v0.0.25beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2011-10-13
820### Added
821- Better CSS for printing (thanks to jerrywham suggestion)
17c9ac7c
V
822- Allow using a redirector or anonymizing proxy for links
823 (such as `http://anonym.to/?` to mask you `HTTP_REFERER`).
824 Just go to `Tools > Configure > Redirector`
825 (thanks to Accent Grave for the suggestion).
826- The `ENABLE_LOCALCACHE` option can be set to `false` for those who have
827 a limited quota on their host.
828 This will disable the local thumbnail cache.
829 Services which require the use of the cache will have no thumbnails
830 (vimeo, flickr, direct link to image).
831 Other services will still have a thumbnail (youtube,imgur.com,dailymotion,imageshack.us)
832
833### Changed
834- Now thumbnails generated by Shaarli are croped to a height of 120 pixels
835- YouTube thumbnails now use `default.jpg` instead of `2.jpg` (This is usually more pertinent)
836- Configuration options (such as `HIDE_TIMESTAMPS`, `ENABLE_THUMBNAILS`, etc.)
837 can now be put in a an external file so that you do not have to tweak them again
838 when you upgrade Shaarli.
839 Just add the file `data/options.php`.
840- If a single link is displayed, the page title contains the title of the link
841- Shaarli page title is clickable (and has the same link as "Home")
f1f1156d
V
842- A few CSS tweaks (thanks to maethor for suggestion)
843
844### Fixed
17c9ac7c
V
845- Shaarli now supports newlines in titles (thanks to dixy)
846- The link to the RSS feed in page header was not correct
847
f1f1156d
V
848
849## [v0.0.24beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
850### Added
17c9ac7c
V
851- Allow posting an entry without a link. (You can use Shaarli as a kind of "personal twitter")
852- Each Shaarli entry now has a short link (just click on the date of a link).
853 Now you can send a link that points to a single entry in your Shaarli
854- In descriptions, URLs are now clickable
855- Thumbnails will be generated for all link pointing to .jpg/png/gif
856 (as long as the images are less than 4 Mb and take less than 30 seconds to download)
f1f1156d
V
857
858### Fixed
17c9ac7c
V
859- Now thumbnails also work for imgur gallery links (/gallery/...)
860 (Thanks to Accent Grave for the correction)
861- Removed useless debugging information in log
f1f1156d
V
862- The filter in RSS/ATOM feed now works again properly (it was broken in 0.0.17beta)
863
17c9ac7c 864
f1f1156d
V
865## [v0.0.23beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
866### Added
867- Added thumbnail support for imageshack.us
868
869### Changed
17c9ac7c
V
870- Now you can clic the sentence "Stay signed in" to tick the checkbox (patch by Emilien)
871- In tag editing, comma (,) are now automatically converted to spaces
872- In tag editing, autocomplete no longuer suggests a tag you have already entered in the same line
873
f1f1156d
V
874
875## [v0.0.22beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
876### Added
17c9ac7c
V
877- Support for thumbnails for flickr.com
878- Allow staying signed in:
879 Your session will be kept open even if you close the browser.
880 This is available through a checkbox in the login screen.
f1f1156d
V
881
882### Changed
17c9ac7c
V
883- Some hosts (flickr, vimeo) are slow as hell for the thumbnails,
884 or require an extra HTTP request.
885 For these hosts the thumbnail generation has been deported outside the generation
886 of the page to keep Shaarli snappy.
887 For these slow services, the thumbnails are also cached.
f1f1156d
V
888
889### Fixed
17c9ac7c
V
890- Title was not properly passed if you had to login when using the bookmarklet (patch by shenshei)
891
f1f1156d
V
892
893## [v0.0.21beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
894### Added
17c9ac7c
V
895- Thumbnails for some services
896 Currently supports: YouTube.com, dailymotion.com, vimeo.com (slow!) and imgur.com.
897 Thumbnails are enabled by default, but you can turn them off
898 (set `define('ENABLE_THUMBNAILS',true);` to `false`).
f1f1156d
V
899
900### Changed
17c9ac7c
V
901- Removed the focus on the searchbox (this is cumbersome when you want to browse pages
902 and scroll with the keyboard)
903
f1f1156d
V
904
905## [v0.0.20beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
906### Fixed
17c9ac7c
V
907- RSS feed is now served as `application/rss+xml` instead of `application/xhtml+xml`
908 (which was causing problem in //RSS Lounge//)
f1f1156d
V
909- ATOM feed is now served as `application/atom+xml` instead of `application/xhtml+xml`
910
17c9ac7c 911
f1f1156d
V
912## [v0.0.19beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
913### Added
17c9ac7c 914- ATOM feed
f1f1156d
V
915
916### Fixed
17c9ac7c
V
917- Patch by Emilien to remove the update notification after the update
918
f1f1156d
V
919
920## [v0.0.18beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
921### Added
17c9ac7c
V
922- You can now configure the title of your page
923- New screen to configure title and timezone
f1f1156d
V
924
925### Changed
17c9ac7c 926- Nicer timezone selection patch by killruana
f1f1156d
V
927
928### Fixed
929- New lines now appear correctly in the RSS feed descriptions.
930
17c9ac7c 931
f1f1156d
V
932## [v0.0.17beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
933### Added
17c9ac7c
V
934- Change password screen added (based on a patch by killruana)
935- Autocomplete in the tag search form
936- You can rename or delete a tag in all links
937 (very handy if you misspelled a tag or want to merge tags)
938- When you click the RSS feed, the feed will be filtered with the same filters
939 as the page you were viewing
f1f1156d
V
940
941### Changed
17c9ac7c
V
942- CSS adjustments by jerrywham
943- Minor corrections
944
f1f1156d
V
945
946## [v0.0.16beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
947### Added
17c9ac7c
V
948- Upgrade notification:
949 If a new version of Shaarli is available, you will be notified by a discreet
950 message in top-right corner.
951 This message will only be visible if you are logged in, and the check will be
952 performed at most once a day.
953- Preliminary tag cloud (ugly for the moment, I need to find something better)
f1f1156d
V
954
955### Changed
17c9ac7c
V
956- Replaced `preg_match()` with `version_compare()` to check PHP version
957- Includes a patch by Emilien K. to mask dates if user is not logged in.
958 The option can be activated by changing `define('HIDE_TIMESTAMPS',false);` to `true`
959
f1f1156d
V
960
961## [v0.0.15beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
962### Added
17c9ac7c
V
963- New in import: Option to overwrite existing links when importing
964- On free.fr, automatic creation of the `/sessions` directory
f1f1156d
V
965
966### Changed
17c9ac7c
V
967- CSS Stylesheet is now an external file (shaarli.css).
968 This reduces page size and eases customization.
f1f1156d
V
969
970### Removed
971- Removed some parameters in URL added by some feed proxies (`#xtor=RSS-...`)
972
973### Fixed
17c9ac7c
V
974- Bug corrected: Prevented loop on login screen upon successful login after a failed login
975- Bug corrected in import: HTML entities were not properly decoded.
976 If you imported your Delicious/Diigo bookmarks, your should import them again
977 and use the 'overwrite' option of the import feature.
978
f1f1156d
V
979
980## [v0.0.14beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
981### Added
17c9ac7c
V
982- You no longer need to disable `magic_quotes` on your host.
983 Shaarli will cope with this option beeing activated.
984
f1f1156d
V
985
986## [v0.0.13beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
987### Added
17c9ac7c
V
988- Import: New option to import html bookmark file as private links
989- Import: Importing a bookmark file will not overwrite existing links anymore
990- Export: New options to export only public or private links
f1f1156d
V
991
992### Changed
17c9ac7c
V
993- In tag autocomplete, tags are presented in use order
994 (most used tags first, instead of alphabetical order)
f1f1156d
V
995- RSS Feed can now be filtered by tags or fulltext search. Just add to the feed url:
996 - `&searchtags=minecraft+video` for tag filtering
17c9ac7c
V
997 - `&searchterm=portal` for fulltext search to the feed url
998
f1f1156d
V
999
1000## [v0.0.12beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
1001### Added
17c9ac7c
V
1002- Add a check that the config file was properly created
1003 (in case Shaarli does not have the write rights in its folder)
1004- Open Shaarli: there is an option to open your Shaarli to anyone.
1005 Anybody will be able to add/edit/delete links without having to login.
1006 In code, change `define('OPEN_SHAARLI',false);` to `true`.
1007 Note: No anti-spam for the moment. You are warned!
1008- Autocomplete for tags
1009
f1f1156d
V
1010
1011## [v0.0.11beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
1012### Added
c47d9723 1013- Add a check and a warning for some hosts which still have `magic_quotes` activated
17c9ac7c 1014
f1f1156d
V
1015
1016## [v0.0.10beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
1017### Added
17c9ac7c
V
1018- Get rid of `&quot;` in titles
1019
f1f1156d
V
1020
1021## [v0.0.9beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
1022### Added
17c9ac7c 1023- Now works on hosts `free.fr` and `1and1`
f1f1156d 1024- Now works with PHP 5.1
17c9ac7c 1025- PHP version is now checked and an error message is displayed if version is not correct
f1f1156d
V
1026
1027### Fixed
1028- No more error messages if the browser does not send `HTTP_REFERER`
17c9ac7c
V
1029- No more error messages if the host has disabled http protocol in PHP config (eg. 1and1)
1030
f1f1156d
V
1031
1032## [v0.0.8beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history)
1033### Changed
17c9ac7c
V
1034- In RSS feed, GUID content replaced with the URL of the link, because some
1035 stupid RSS reader (like Google Reader) use `<guid>` as a link instead of using `<link>`
1036
f1f1156d
V
1037
1038## [v0.0.7beta](http://sebsauvage.net/wiki/doku.php?id=php:shaarli:history) - 2011-09-16
1039First public release by Sebsauvage, see original article:
1040[Adieu Delicious, Diigo et StumbleUpon. Salut Shaarli !](http://sebsauvage.net/rhaa/index.php?2011/09/16/09/29/58-adieu-delicious-diigo-et-stumbleupon-salut-shaarli-) (FR)