c416ed485f
CS
2019-01-23 13:28:24 +01:00
a0c5eb003f
Change the way to enable 2FA
...
And add a step to validate a generated code from the OTP app
2019-01-23 13:28:24 +01:00
e073090b8d
Update translation
2019-01-23 13:28:24 +01:00
dfd0a7bc5f
Add backup codes
2019-01-23 13:28:03 +01:00
6e4fc956ab
Better translations
...
Replace “Google Authenticator” by “Google Authenticator, Authy or FreeOTP” in all text.
Translate how to use the code / qr code.
2019-01-23 13:28:02 +01:00
2dfbe9e5fa
Fix tests
2019-01-23 13:28:02 +01:00
a6b242a1fd
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
2019-01-23 13:28:02 +01:00
acd4412080
Create a dedicated tab to reset data
2019-01-23 13:28:01 +01:00
fe5850d6e2
Update icon to casino
2019-01-22 17:05:21 +01:00
091bafeb4c
Handle no random result found
2019-01-19 22:30:50 +01:00
50f35f0db2
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
2019-01-19 22:24:10 +01:00
9a57653aec
Redirect to the current view instead of homepage
2019-01-19 21:10:16 +01:00
90a0d086a8
Better icon
2019-01-19 21:10:16 +01:00
062fad434a
Better random function
2019-01-19 21:09:33 +01:00
0447a75b06
Use only one method to randomize
...
Instead of one per type, one for all is ok.
2019-01-19 21:09:33 +01:00
f85d220c19
Fix tests
2019-01-19 21:09:33 +01:00
09ef25c3c3
Added random feature
2019-01-19 21:09:32 +01:00
1e0d8ad7b7
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)
2019-01-18 15:25:50 +01:00
3afc87426d
CS
2019-01-15 09:49:22 +01:00
5419a8368e
Merge remote-tracking branch 'origin/master' into 2.4
2019-01-15 09:41:18 +01:00
78e3fafa3f
Avoid error when a bad order parameter is given
...
Only allowed parameter are asc & desc
2019-01-14 17:01:21 +01:00
3625833b2c
Merge pull request #3826 from wallabag/epub-toc
...
Rework of EPUB/PDF exports
2019-01-11 13:34:38 +01:00
bb8ad42b27
Update entries.html.twig
...
Should fix https://github.com/wallabag/wallabag/issues/3832
2019-01-10 04:25:51 +01:00
d4466a37fe
Update entries.html.twig
...
Should fix https://github.com/wallabag/wallabag/issues/3832
2019-01-10 04:23:08 +01:00
5e1f27767b
EntriesExport: avoid else on $authors
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2019-01-09 16:26:19 +01:00
dac93644e8
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 >
2019-01-08 15:13:35 +01:00
ad5ef8bca0
EntriesExport/pdf: move notice to the end, add metadata cover
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2019-01-07 23:36:41 +01:00
af83d05ce2
Add translations
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2019-01-07 23:06:02 +01:00
4944703edc
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 >
2019-01-07 21:44:14 +01:00
f810834623
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 >
2019-01-07 21:44:14 +01:00
30cf72bf55
EntriesExport/epub: revert c779373f, move exportinfo to the end of the book
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2019-01-07 21:43:16 +01:00
edd1825b58
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 >
2019-01-07 21:41:12 +01:00
063d5e7bda
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 >
2019-01-07 21:11:05 +01:00
5de17117a1
Merge pull request #3827 from wallabag/epub-quote
...
EntriesExport/epub: replace epub identifier with unique urn
2019-01-07 11:59:38 +01:00
d2aec7096d
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
2019-01-07 10:17:29 +01:00
bf22266a62
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 >
2019-01-06 23:29:32 +01:00
7f8630b91c
Counting two characters together as a word in CJK
2019-01-06 01:21:13 +08:00
35983eb9bb
Improve reading time tests
2019-01-04 11:23:33 +01:00
2a0e0a47d8
TagRestController: rewrite delete actions to only retrieve tags related to the user
...
Fixes #3815
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2018-12-30 01:34:49 +01:00
6708bf238d
TagRepository: refactor query builder for queries by userId
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2018-12-30 01:34:44 +01:00
bafb9744c8
fixtures: refactor EntryData, TagData, add a new tag
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2018-12-29 19:22:05 +01:00
5becf260fa
fix incorrect reading time calculation for entries with CJK characters
2018-12-25 15:31:44 +08:00
e014fa0395
Update messages.pl.yml
...
Add missing translation
2018-12-02 18:14:21 +01:00
b13b2ef052
CS
2018-11-28 22:04:55 +01:00
1b6b77f029
Remove custom Postgres class
...
Because PG > 10 is now supported by DBAL >= 2.6.0
2018-11-28 22:04:54 +01:00
db9b6d8d0d
Update fixtures
2018-11-28 22:04:54 +01:00
6fc95673df
Cleanup
2018-11-28 22:04:54 +01:00
72efc8ceeb
Merge pull request #3782 from wallabag/issue-3779
...
material: fix missing thumbnail on list view
2018-11-26 18:45:12 +01:00
8896f0f988
Merge pull request #3765 from burkemw3/patch-2
...
Remove preview picture from single entry view page for #1875
2018-11-26 13:51:00 +01:00
e5de9917fd
material: fix missing thumbnail on list view
...
Signed-off-by: Kevin Decherf <kevin@kdecherf.com >
2018-11-25 15:00:08 +01:00