]>
git.immae.eu Git - github/wallabag/wallabag.git/log
Jeremy Benoist [Wed, 27 Feb 2019 13:33:26 +0000 (14:33 +0100)]
CS
Thomas Citharel [Sat, 12 Jan 2019 12:09:36 +0000 (13:09 +0100)]
Replace continue; with break; to avoid PHP 7.3 warnings
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Jérémy Benoist [Fri, 8 Feb 2019 14:39:51 +0000 (15:39 +0100)]
Merge pull request #3879 from wallabag/fix/url-default-protocol
Force default_protocol to generate an url input
Jeremy Benoist [Fri, 8 Feb 2019 14:03:52 +0000 (15:03 +0100)]
Force default_protocol to generate an url input
Jeremy Benoist [Thu, 7 Feb 2019 17:01:15 +0000 (18:01 +0100)]
Merge remote-tracking branch 'origin/master' into 2.4
Jérémy Benoist [Fri, 1 Feb 2019 11:58:31 +0000 (12:58 +0100)]
Merge pull request #3869 from itsthejb/fix-2factor-email-image
Fix broken 2 factor auth logo image
Jonathan Crooke [Thu, 31 Jan 2019 21:14:53 +0000 (22:14 +0100)]
Fix broken 2 factor auth logo image
Kevin Decherf [Wed, 30 Jan 2019 00:02:27 +0000 (01:02 +0100)]
Merge pull request #3798 from wallabag/update-two-factor-bundle
Enable OTP 2FA
Jérémy Benoist [Mon, 28 Jan 2019 10:34:37 +0000 (11:34 +0100)]
Merge pull request #3819 from stan3/pocket-import
Fix read & starred status in Pocket import
Jeremy Benoist [Mon, 28 Jan 2019 05:03:16 +0000 (06:03 +0100)]
Improve checks & add tests
Tristan Hill [Sat, 22 Dec 2018 11:36:13 +0000 (11:36 +0000)]
status and favourite are actually strings in the import so use ==
Jeremy Benoist [Wed, 23 Jan 2019 13:43:39 +0000 (14:43 +0100)]
Hash backup codes in the database using `password_hash`
Jeremy Benoist [Wed, 23 Jan 2019 12:47:51 +0000 (13:47 +0100)]
Revert PG on Travis about drop/create the database
Jeremy Benoist [Sat, 19 Jan 2019 19:19:56 +0000 (20:19 +0100)]
CS
Jeremy Benoist [Fri, 18 Jan 2019 21:46:44 +0000 (22:46 +0100)]
Change the way to enable 2FA
And add a step to validate a generated code from the OTP app
Jeremy Benoist [Fri, 7 Dec 2018 17:01:06 +0000 (18:01 +0100)]
Remove secret from admin
Jeremy Benoist [Fri, 7 Dec 2018 17:00:57 +0000 (18:00 +0100)]
Update translation
Jeremy Benoist [Wed, 5 Dec 2018 13:29:46 +0000 (14:29 +0100)]
Fix PG & Travis drop/create database
Jeremy Benoist [Wed, 5 Dec 2018 10:39:51 +0000 (11:39 +0100)]
Add SQLite & PG migration
Also remove the forced `server_version` from dbal config to avoid an
hard overriding across all database.
Jeremy Benoist [Mon, 3 Dec 2018 05:51:06 +0000 (06:51 +0100)]
Add backup codes
Jeremy Benoist [Mon, 3 Dec 2018 05:15:57 +0000 (06:15 +0100)]
Better translations
Replace “Google Authenticator” by “Google Authenticator, Authy or FreeOTP” in all text.
Translate how to use the code / qr code.
Jeremy Benoist [Sun, 2 Dec 2018 17:47:34 +0000 (18:47 +0100)]
Cleanup
Jeremy Benoist [Sun, 2 Dec 2018 17:39:02 +0000 (18:39 +0100)]
Fix tests
Jeremy Benoist [Sun, 2 Dec 2018 16:25:56 +0000 (17:25 +0100)]
Fix test for custom version of the tidy extension
Jeremy Benoist [Sun, 2 Dec 2018 11:43:05 +0000 (12:43 +0100)]
Enable OTP 2FA
- Update SchebTwoFactorBundle to version 3
- Enable Google 2fa on the bundle
- Disallow ability to use both email and google as 2fa
- Update Ocramius Proxy Manager to handle typed function & attributes (from PHP 7)
- use `$this->addFlash` shortcut instead of `$this->get('session')->getFlashBag()->add`
- update admin to be able to create/reset the 2fa
Jeremy Benoist [Sun, 2 Dec 2018 07:54:54 +0000 (08:54 +0100)]
Create a dedicated tab to reset data
Jérémy Benoist [Wed, 23 Jan 2019 08:19:37 +0000 (09:19 +0100)]
Merge pull request #3627 from craig0990/feature/add-search-api-endpoint
Add a basic Search REST endpoint
Jérémy Benoist [Wed, 23 Jan 2019 08:04:54 +0000 (09:04 +0100)]
Merge pull request #3864 from wallabag/fix/database-init-version
Removed hardcoded database version
Jeremy Benoist [Tue, 22 Jan 2019 20:10:28 +0000 (21:10 +0100)]
Avoid creating PG database on Travis
And Travis build on PHP 7.3 should not fail.
Jeremy Benoist [Wed, 24 Oct 2018 18:29:33 +0000 (20:29 +0200)]
Fix third argument to Route
Jeremy Benoist [Wed, 24 Oct 2018 18:11:45 +0000 (20:11 +0200)]
Factorize sendResponse between Api controllers
And run newer cs fixer
Craig Roberts [Tue, 10 Apr 2018 11:50:26 +0000 (19:50 +0800)]
[wallabag/wallabag#2611] Fix PHPCS lint errors
Craig Roberts [Mon, 9 Apr 2018 09:24:45 +0000 (17:24 +0800)]
Fixes [wallabag/wallabag#2611] Add a basic Search REST endpoint
- Adds a new `search` key to `src/Wallabag/ApiBundle/Resources/config/routing_rest.yml`
- Reuses the `getBuilderForSearchByUser` method from the EntryRepository
- Supports, `term`, `page`, and `perPage` query parameters
- Some very basic tests
Jeremy Benoist [Tue, 22 Jan 2019 19:38:28 +0000 (20:38 +0100)]
Removed hardcoded database version
Kevin Decherf [Tue, 22 Jan 2019 17:30:02 +0000 (18:30 +0100)]
Merge pull request #3526 from wallabag/add-random-article
Add random feature
Jeremy Benoist [Mon, 21 Jan 2019 09:20:19 +0000 (10:20 +0100)]
Update icon to `casino`
Jeremy Benoist [Sat, 19 Jan 2019 21:30:50 +0000 (22:30 +0100)]
Handle no random result found
Jeremy Benoist [Sat, 19 Jan 2019 21:24:52 +0000 (22:24 +0100)]
Fix status from Instapaper
That status was used as `http_status` in ContentProxy->stockEntry
Jeremy Benoist [Sat, 19 Jan 2019 21:08:29 +0000 (22:08 +0100)]
Move icon into the top menu bar
Change the way to select a random entry:
- select all ids from the given user (with filters)
- choose randomly one in php
- find that entry
Jeremy Benoist [Fri, 12 Oct 2018 20:13:33 +0000 (22:13 +0200)]
Redirect to the current view instead of homepage
Jeremy Benoist [Fri, 12 Oct 2018 20:13:14 +0000 (22:13 +0200)]
Better icon
Jeremy Benoist [Fri, 12 Oct 2018 19:41:28 +0000 (21:41 +0200)]
Better random function
Jeremy Benoist [Fri, 12 Oct 2018 19:41:05 +0000 (21:41 +0200)]
Use only one method to randomize
Instead of one per type, one for all is ok.
Jeremy Benoist [Fri, 12 Oct 2018 13:01:19 +0000 (15:01 +0200)]
Fix tests
Nicolas Lœuillet [Fri, 22 Dec 2017 14:44:00 +0000 (15:44 +0100)]
Added random feature
Jérémy Benoist [Fri, 18 Jan 2019 15:50:24 +0000 (16:50 +0100)]
Merge pull request #3858 from wallabag/bump-ocramius
Bump ocramius/proxy-manager
Jeremy Benoist [Fri, 18 Jan 2019 15:05:20 +0000 (16:05 +0100)]
CS
Jérémy Benoist [Fri, 18 Jan 2019 14:56:39 +0000 (15:56 +0100)]
Merge pull request #3859 from wallabag/phpstan
Enable PHPStan
Jeremy Benoist [Thu, 17 Jan 2019 13:28:05 +0000 (14:28 +0100)]
Enable PHPStan
- Fix error for level 0 & 1 (level 7 has 699 errors...)
- Add `updated_at` to site_credential (so the `timestamps()` method applies correctly)
Jérémy Benoist [Fri, 18 Jan 2019 12:20:38 +0000 (13:20 +0100)]
Merge pull request #3861 from wallabag/fix/siteconfig-email
Add dedicated email for site config issue
Jeremy Benoist [Fri, 18 Jan 2019 10:14:28 +0000 (11:14 +0100)]
Add dedicated email for site config issue
Instead of sending an email to the devs, it now creates an issue on GitHub using a zap from zapier.
Thomas Citharel [Sat, 12 Jan 2019 12:10:51 +0000 (13:10 +0100)]
Bump ocramius/proxy-manager
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Jérémy Benoist [Thu, 17 Jan 2019 11:09:07 +0000 (12:09 +0100)]
Merge pull request #3853 from techexo/patch-2
Update composer.json to add php-tidy (ext-tidy)
Eloi Coutant [Wed, 16 Jan 2019 20:54:38 +0000 (21:54 +0100)]
Update composer.json to add php-tidy (ext-tidy)
Should fix https://github.com/wallabag/wallabag/issues/3844 for milestone https://github.com/wallabag/wallabag/milestone/63.
Kevin Decherf [Tue, 15 Jan 2019 11:22:35 +0000 (12:22 +0100)]
Merge pull request #3845 from wallabag/feature/api-info-endpoint
Add a new endpoint to retrieve information from the wallabag instance
Jeremy Benoist [Tue, 15 Jan 2019 09:17:11 +0000 (10:17 +0100)]
Add a new endpoint to retrieve information from the wallabag instance
Useful for api client which required some information.
We might add more inside them in the future.
The endpoint /api/version should be avoided now as it contains not so much information rather the version.
Jeremy Benoist [Tue, 15 Jan 2019 08:49:22 +0000 (09:49 +0100)]
CS
Jeremy Benoist [Tue, 15 Jan 2019 08:41:18 +0000 (09:41 +0100)]
Merge remote-tracking branch 'origin/master' into 2.4
Jérémy Benoist [Mon, 14 Jan 2019 21:24:40 +0000 (22:24 +0100)]
Merge pull request #3841 from wallabag/fix/bad-order-api
Fix bad order parameter in the API
Jeremy Benoist [Mon, 14 Jan 2019 16:01:21 +0000 (17:01 +0100)]
Avoid error when a bad `order` parameter is given
Only allowed parameter are asc & desc
Jeremy Benoist [Mon, 14 Jan 2019 16:00:32 +0000 (17:00 +0100)]
Come back to stable version
Previous one was used because some PHPUnit version where deleted and tests can't be run anymore.
Kevin Decherf [Sat, 12 Jan 2019 10:19:19 +0000 (11:19 +0100)]
Merge pull request #3837 from wallabag/2.3.7-dev
Jump to 2.3.7-dev
Jérémy Benoist [Fri, 11 Jan 2019 21:17:48 +0000 (22:17 +0100)]
Jump to 2.3.7-dev
Jérémy Benoist [Fri, 11 Jan 2019 16:12:13 +0000 (17:12 +0100)]
Merge pull request #3835 from wallabag/prepare-2.3.6
Prepare 2.3.6 release
Jeremy Benoist [Fri, 11 Jan 2019 13:16:41 +0000 (14:16 +0100)]
Prepare 2.3.6 release
Jérémy Benoist [Fri, 11 Jan 2019 12:34:38 +0000 (13:34 +0100)]
Merge pull request #3826 from wallabag/epub-toc
Rework of EPUB/PDF exports
Jérémy Benoist [Thu, 10 Jan 2019 16:03:03 +0000 (17:03 +0100)]
Merge pull request #3831 from wallabag/fix/api-bad-client-id
Cast client id to avoid PG error
Jérémy Benoist [Thu, 10 Jan 2019 09:02:34 +0000 (10:02 +0100)]
Merge pull request #3833 from techexo/patch-1
Fix settings field inverted
Eloi Coutant [Thu, 10 Jan 2019 03:25:51 +0000 (04:25 +0100)]
Update entries.html.twig
Should fix https://github.com/wallabag/wallabag/issues/3832
Eloi Coutant [Thu, 10 Jan 2019 03:23:08 +0000 (04:23 +0100)]
Update entries.html.twig
Should fix https://github.com/wallabag/wallabag/issues/3832
Jeremy Benoist [Wed, 9 Jan 2019 22:29:30 +0000 (23:29 +0100)]
Cast client id to avoid PG error
If someone send a malformated client_id when trying to authenticate using the API we got a 500 if wallabag use postgres because the request send a string instead of an integer.
Kevin Decherf [Wed, 9 Jan 2019 15:26:19 +0000 (16:26 +0100)]
EntriesExport: avoid else on $authors
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Mon, 7 Jan 2019 22:50:08 +0000 (23:50 +0100)]
EntriesExport: sanitize filename and fix tests
Filename will now only use a-zA-Z0-9-' and space.
Fixes remaining filename issue on #3811
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Mon, 7 Jan 2019 22:36:41 +0000 (23:36 +0100)]
EntriesExport/pdf: move notice to the end, add metadata cover
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 6 Jan 2019 22:28:39 +0000 (23:28 +0100)]
Add translations
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 6 Jan 2019 22:27:13 +0000 (23:27 +0100)]
EntriesExport/epub: add metadata to each entry's cover
Add metadata to the cover of each entry:
- Publishers
- Estimated reading time
- Date of creation ("Added on")
- Address (URL)
Related to #2821
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 6 Jan 2019 19:17:35 +0000 (20:17 +0100)]
EntriesExport: change authors and title when not single entry export
Change '{method} authors' (which gives 'Tag_entries authors' when
exporting a tag) to 'Various authors'.
When exporting a tag (tag_entries), change the title from 'Tag_entries
articles' to 'Tag {tag} articles'.
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 6 Jan 2019 18:23:01 +0000 (19:23 +0100)]
EntriesExport/epub: revert
c779373f , move exportinfo to the end of the book
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 6 Jan 2019 18:13:26 +0000 (19:13 +0100)]
EntriesExport/epub: use sha1 sums for filenames, fix and rename title chapters
This commit renames entry chapters file using a sha1 sum of their title
for simplicity. Also we fix the 'Title' chapter duplicate issue by using
the hash of the related entry and the suffix '_title'.
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sun, 6 Jan 2019 17:55:39 +0000 (18:55 +0100)]
EntriesExport/epub: remove TOC page
This change only remove the rendered page of the TOC at the end of the
book, the TOC remains available to readers.
Fixes #3603
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Mon, 7 Jan 2019 10:59:38 +0000 (11:59 +0100)]
Merge pull request #3827 from wallabag/epub-quote
EntriesExport/epub: replace epub identifier with unique urn
Jérémy Benoist [Mon, 7 Jan 2019 09:17:29 +0000 (10:17 +0100)]
Merge pull request #3820 from lizyn/bugfix/incorrect-calculation-of-CJK-characters-in-reading-time-estimation
Fix incorrect reading time calculation for entries with CJK characters
Kevin Decherf [Sun, 6 Jan 2019 17:38:02 +0000 (18:38 +0100)]
EntriesExport/epub: replace epub identifier with unique urn
We replace the title used as the unique identifier of the epub file with
a urn following the format:
urn:wallabag:{sha1("wallabagUrl:listOfEntryIdsSeparatedByComma")}
This format is repeatable: it always gives the same uid for the same
list of entries.
Fixes #3811
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
lizyn [Sat, 5 Jan 2019 04:30:15 +0000 (12:30 +0800)]
Counting two characters together as a word in CJK
Jeremy Benoist [Fri, 4 Jan 2019 10:22:43 +0000 (11:22 +0100)]
Improve reading time tests
Jérémy Benoist [Fri, 4 Jan 2019 10:06:53 +0000 (11:06 +0100)]
Merge pull request #3816 from wallabag/validate-import-entry
Validate imported entry to avoid error on import
Jeremy Benoist [Tue, 18 Dec 2018 12:14:42 +0000 (13:14 +0100)]
Validate imported entry to avoid error on import
We got some imports with a missing `url` field generating some errors while trying to retrieve an existing entry with that url.
Introducing the `validateEntry` allow us to dismiss a message when it doesn't have an url (or other missing stuff in the future)
Jérémy Benoist [Thu, 3 Jan 2019 08:14:26 +0000 (09:14 +0100)]
Merge pull request #3823 from wallabag/fix-tag-api-leak
Fix tag API leak
Kevin Decherf [Sat, 29 Dec 2018 19:43:34 +0000 (20:43 +0100)]
TagRestController: fix test for tag without entries
As the deletion now requires that at least one entry for the user must
be linked to the given tag, we fix the test testDeleteUserTag by linking
it to an entry.
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sat, 29 Dec 2018 19:42:41 +0000 (20:42 +0100)]
TagRestController: rewrite delete actions to only retrieve tags related to the user
Fixes #3815
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sat, 29 Dec 2018 18:43:07 +0000 (19:43 +0100)]
TagRestController: add tests to ensure that other user's tags are unreachable
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sat, 29 Dec 2018 18:42:37 +0000 (19:42 +0100)]
TagRepository: refactor query builder for queries by userId
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
Kevin Decherf [Sat, 29 Dec 2018 18:22:05 +0000 (19:22 +0100)]
fixtures: refactor EntryData, TagData, add a new tag
Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
lizyn [Tue, 25 Dec 2018 07:31:44 +0000 (15:31 +0800)]
fix incorrect reading time calculation for entries with CJK characters
Jérémy Benoist [Mon, 17 Dec 2018 08:34:15 +0000 (09:34 +0100)]
Merge pull request #3814 from wallabag/2.3.6-dev
Jump to 2.3.6-dev and update release process
Jeremy Benoist [Sat, 15 Dec 2018 07:14:47 +0000 (08:14 +0100)]
Jump to 2.3.6-dev and update release process
Fix release archive in `release.sh` and also fix a typo in the release process
Jérémy Benoist [Fri, 14 Dec 2018 21:53:07 +0000 (22:53 +0100)]
Merge pull request #3812 from wallabag/prepare-2.3.5
Prepare 2.3.5 release
Jeremy Benoist [Fri, 14 Dec 2018 19:59:16 +0000 (20:59 +0100)]
Prepare 2.3.5 release
Jérémy Benoist [Fri, 14 Dec 2018 09:46:44 +0000 (10:46 +0100)]
Merge pull request #3810 from wallabag/remove-guzzle-site-authenticator-dev
No more dev for guzzle-site-authenticator
Jérémy Benoist [Thu, 13 Dec 2018 21:13:34 +0000 (22:13 +0100)]
Merge pull request #3781 from wallabag/yarn-up
build: upgrade yarn dependencies, update prod assets