aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #3944 from shtrom/always-hash-exists-urlJérémy Benoist2019-05-285-47/+80
|\ | | | | Always hash exists url
| * Remove useless methodsJeremy Benoist2019-05-242-28/+2
| | | | | | | | Also fix a phpdoc block
| * Change the way to define algorithm for hashing urlJeremy Benoist2019-05-243-11/+11
| |
| * Add Wallabag\CoreBundle\Helper\UrlHasherOlivier Mehani2019-05-245-21/+79
| | | | | | | | Signed-off-by: Olivier Mehani <shtrom@ssji.net>
| * 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>
* | Fix tests after rebaseJeremy Benoist2019-05-281-2/+4
| |
* | Fix some testsJeremy Benoist2019-05-281-8/+11
| |
* | CSJeremy Benoist2019-05-281-1/+1
| |
* | CSJeremy Benoist2019-05-283-6/+5
| |
* | Configure timeoutadev2019-05-281-3/+7
| |
* | Fix because of some breaking changes of Graby 2.0adev2019-05-283-15/+13
| |
* | Use httplugadev2019-05-285-85/+92
| |
* | Merge pull request #3965 from nicofrand/previewPicKevin Decherf2019-05-262-12/+37
|\ \ | | | | | | Preview picture: use the 1st pic retrieved if no og:image set
| * | Set first picture as preview picturenicofrand2019-05-212-12/+37
| |/
* / Fix Instapaper import dateJeremy Benoist2019-05-241-0/+4
|/
* 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
| |