aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
Commit message (Collapse)AuthorAgeFilesLines
* Delegate findByUrlAndUserId to findByHashedUrlAndUserIdOlivier Mehani2019-05-241-11/+3
| | | | Signed-off-by: Olivier Mehani <shtrom@ssji.net>
* EntryRestController::getEntriesExistsAction: always find by hashed urlOlivier Mehani2019-05-241-31/+40
| | | | | | | | | | | Simplify the logic from #3158 by hashing all the urls from the request, and only doing a search by hash. This allows to get performance benefits from the new indexed hash column even when using older clients that do not hash the URL in the request. Fixes: #3158, #3919 Signed-off-by: Olivier Mehani <shtrom@ssji.net>
* Merge pull request #3960 from wallabag/api-entries-2817Jérémy Benoist2019-05-212-2/+21
|\ | | | | api/entries: add parameter detail to exclude or include content in response
| * api/entries: add parameter detail to exclude or include content in responseKevin Decherf2019-05-182-2/+21
| | | | | | | | | | | | | | | | | | | | | | | | detail=metadata will nullify the content field of entries in order to make smaller responses. detail=full keeps the former behavior, it sends the content of entries. It's the default, for backward compatibility. Fixes #2817 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
* | Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-05-1520-28/+62
|\ \
| * \ Merge pull request #3922 from burkemw3/patch-5Jérémy Benoist2019-05-131-3/+0
| |\ \ | | | | | | | | Remove preview picture from share view page for #1875
| | * | Remove preview picture from share view page for #1875Matt Burke2019-05-121-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Essentially, same as commit 038fccd for single entry views. From that commit: > Showing the preview picture usually leads to showing a duplicate > image, and frequently leads to showing duplicate images directly > adjacent to each other.
| * | | Enable no-referrer on img tags, enable strict-origin-when-cross-origin by ↵Kevin Decherf2019-05-102-0/+2
| |/ / | | | | | | | | | | | | | | | | | | | | | default Fixes #3889 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * | material: add metadata to list viewKevin Decherf2019-05-012-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add reading time and creation date to rows of list view. Refactor styles using a sass mixin. Fixes #3838 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * | Adding more tests to cover different scenarioJeremy Benoist2019-04-242-16/+38
| | |
| * | Add ability to match many domains for credentialsJeremy Benoist2019-04-2314-17/+27
| | | | | | | | | | | | | | | Instead of fetching one domain, we use the same method as in site config (to retrieve the matching file) and handle api.example.org, example.org, .org (yes the last one isn’t useful). If one of these match, we got it and use it.
* | | Cascade delete on oauth2 table when deleting a userJeremy Benoist2019-05-103-0/+3
| |/ |/|
* | Fallback to default solution if Imagick failsJeremy Benoist2019-05-101-4/+9
| |
* | Use Imagick to keep GIF animationJeremy Benoist2019-05-101-1/+10
| | | | | | | | | | If Imagick is available, GIF will be saved using it to keep animation. Otherwise the previous method will be used and the animation won't be kept.
* | Fix tests & cs & migrationJeremy Benoist2019-04-269-37/+36
| |
* | Changed RSS to Atom feed and improve pagingThomas Citharel2019-04-2547-309/+346
| |
* | Fix ApiDoc about md5/sha1Jérémy Benoist2019-04-021-2/+2
| |
* | Fix index on MySQLJeremy Benoist2019-04-011-1/+1
| |
* | Some cleanupJeremy Benoist2019-04-013-10/+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-015-34/+70
| | | | | | | | | | | | - 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-015-12/+152
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-04-014-24/+40
|\|
| * 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>
| * Merge pull request #3886 from wallabag/issue-3602Jérémy Benoist2019-02-251-7/+9
| |\ | | | | | | epub export: fix missing cover image, only for exports of one article
| | * 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>
| * | EntryRestController: add support of expect parameter to delete actionKevin Decherf2019-02-201-4/+17
| |/ | | | | | | | | | | | | | | | | | | | | The expect parameter enables an application to request the whole entry or only the id when requesting its deletion. `expects` defaults to `entry` to prevent any API breakage. Fixes #3711 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * CSJeremy Benoist2019-02-131-1/+1
| |
| * CSJeremy Benoist2019-02-119-13/+13
| |
* | Adding more testsJeremy Benoist2019-02-277-9/+9
| |
* | CSJeremy Benoist2019-02-276-10/+10
| |
* | Replace continue; with break; to avoid PHP 7.3 warningsThomas Citharel2019-02-277-9/+9
| | | | | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* | Force default_protocol to generate an url inputJeremy Benoist2019-02-083-0/+4
| |
* | Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-02-074-6/+6
|\|
| * Fix broken 2 factor auth logo imageJonathan Crooke2019-01-311-1/+1
| |
| * Improve checks & add testsJeremy Benoist2019-01-281-3/+3
| |
| * status and favourite are actually strings in the import so use ==Tristan Hill2019-01-271-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-234-11/+38
| |
* | 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
* | Remove secret from adminJeremy Benoist2019-01-231-6/+0
| |
* | Update translationJeremy Benoist2019-01-2314-14/+14
| |
* | Add backup codesJeremy Benoist2019-01-2318-11/+71
| |
* | 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.
* | CleanupJeremy Benoist2019-01-232-3/+1
| |
* | Fix testsJeremy Benoist2019-01-234-69/+36
| |