aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle
Commit message (Collapse)AuthorAgeFilesLines
* Fix index on MySQLJeremy Benoist2019-04-011-1/+1
|
* Some cleanupJeremy Benoist2019-04-012-9/+5
| | | | Also, do not run the hashed_url migration into a Doctrine migration
* Use a better index for hashed_urlJeremy Benoist2019-04-014-6/+4
| | | | | | It'll most often be used in addition to the `user_id`. Also, automatically generate the hash when saving the url. Switch from `md5` to `sha1`.
* Keep url in exists endpointJeremy Benoist2019-04-014-9/+40
| | | | | | - Add migration - Use md5 instead of sha512 (we don't need security here, just a hash) - Update tests
* Hash the urls to check if they existThomas Citharel2019-04-014-1/+127
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-04-013-20/+23
|\
| * Merge pull request #3909 from wallabag/fix/html-not-definedJérémy Benoist2019-03-181-7/+6
| |\ | | | | | | Fix PHP warning
| | * Fix PHP warningJeremy Benoist2019-03-181-7/+6
| | | | | | | | | | | | Looks like sometimes (usually from import) the `html` key isn’t available.
| * | epub: fix exception when articles have the same titleKevin Decherf2019-03-171-1/+1
| |/ | | | | | | | | | | | | | | | | | | This commit fixes an exception occuring when exporting as epub several articles with the same title. The chapter filename is now derived from title and url. Fixes #3642 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * material: wrap card actions, remove class hiding of creation dateKevin Decherf2019-03-031-5/+7
| | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * epub export: fix missing cover image, only for exports of one articleKevin Decherf2019-02-181-7/+9
| | | | | | | | | | | | Fixes #3602 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * CSJeremy Benoist2019-02-113-3/+3
| |
* | Adding more testsJeremy Benoist2019-02-274-4/+4
| |
* | CSJeremy Benoist2019-02-271-1/+1
| |
* | Replace continue; with break; to avoid PHP 7.3 warningsThomas Citharel2019-02-274-4/+4
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Force default_protocol to generate an url inputJeremy Benoist2019-02-082-0/+3
| |
* | Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-02-072-2/+2
|\|
| * Add dedicated email for site config issueJeremy Benoist2019-01-182-2/+2
| | | | | | | | | | Instead of sending an email to the devs, it now creates an issue on GitHub using a zap from zapier.
* | Hash backup codes in the database using `password_hash`update-two-factor-bundleJeremy Benoist2019-01-233-9/+16
| |
* | CSJeremy Benoist2019-01-231-3/+1
| |
* | Change the way to enable 2FAJeremy Benoist2019-01-2319-177/+536
| | | | | | | | And add a step to validate a generated code from the OTP app
* | Update translationJeremy Benoist2019-01-2314-14/+14
| |
* | Add backup codesJeremy Benoist2019-01-2317-10/+34
| |
* | Better translationsJeremy Benoist2019-01-2315-35/+76
| | | | | | | | | | | | Replace “Google Authenticator” by “Google Authenticator, Authy or FreeOTP” in all text. Translate how to use the code / qr code.
* | Fix testsJeremy Benoist2019-01-233-18/+17
| |
* | Enable OTP 2FAJeremy Benoist2019-01-2319-115/+190
| | | | | | | | | | | | | | | | | | - 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
* | Create a dedicated tab to reset dataJeremy Benoist2019-01-2315-31/+46
| |
* | Update icon to `casino`Jeremy Benoist2019-01-222-2/+2
| |
* | Handle no random result foundJeremy Benoist2019-01-191-1/+6
| |
* | Move icon into the top menu barJeremy Benoist2019-01-1919-25/+40
| | | | | | | | | | | | | | 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
* | Redirect to the current view instead of homepageJeremy Benoist2019-01-192-19/+18
| |
* | Better iconJeremy Benoist2019-01-191-1/+1
| |
* | Better random functionJeremy Benoist2019-01-191-9/+13
| |
* | Use only one method to randomizeJeremy Benoist2019-01-193-85/+16
| | | | | | | | Instead of one per type, one for all is ok.
* | Fix testsJeremy Benoist2019-01-192-99/+94
| |
* | Added random featureNicolas Lœuillet2019-01-1918-10/+169
| |
* | Enable PHPStanJeremy Benoist2019-01-183-1/+20
| | | | | | | | | | - Fix error for level 0 & 1 (level 7 has 699 errors...) - Add `updated_at` to site_credential (so the `timestamps()` method applies correctly)
* | CSJeremy Benoist2019-01-152-2/+2
| |
* | Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-01-1526-185/+339
|\|
| * Avoid error when a bad `order` parameter is givenJeremy Benoist2019-01-141-1/+5
| | | | | | | | Only allowed parameter are asc & desc
| * Merge pull request #3826 from wallabag/epub-tocJérémy Benoist2019-01-1116-29/+157
| |\ | | | | | | Rework of EPUB/PDF exports
| | * EntriesExport: avoid else on $authorsKevin Decherf2019-01-091-4/+2
| | | | | | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| | * EntriesExport: sanitize filename and fix testsKevin Decherf2019-01-081-10/+18
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * EntriesExport/pdf: move notice to the end, add metadata coverKevin Decherf2019-01-071-8/+25
| | | | | | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| | * Add translationsKevin Decherf2019-01-0714-1/+88
| | | | | | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| | * EntriesExport/epub: add metadata to each entry's coverKevin Decherf2019-01-071-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * EntriesExport: change authors and title when not single entry exportKevin Decherf2019-01-072-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * EntriesExport/epub: revert c779373f, move exportinfo to the end of the bookKevin Decherf2019-01-071-1/+3
| | | | | | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| | * EntriesExport/epub: use sha1 sums for filenames, fix and rename title chaptersKevin Decherf2019-01-071-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | 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>
| | * EntriesExport/epub: remove TOC pageKevin Decherf2019-01-071-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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>