aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle
Commit message (Collapse)AuthorAgeFilesLines
...
| * | TyposJeremy Benoist2019-06-051-2/+2
| | |
| * | Use two indexes instead of one for hashed urlsJeremy Benoist2019-06-052-2/+14
| | | | | | | | | | | | | | | When using `OR` in a where clause, a composite index can't be used. We should use a `UNION` to take advantages of it. Instead, create 2 indexes on each hashed urls and make 2 queries to find an url. It'll be faster than the previous solution.
| * | Use hash given url to avoid duplicateJeremy Benoist2019-05-293-45/+59
| | | | | | | | | | | | Using hashed url we can ensure an index on them to ensure it's fast.
| * | Added given_url in entry tableNicolas Lœuillet2019-05-293-1/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Added index on entry table for given_url field - Fix tests: The previous `bit.ly` url redirected to doc.wallabag but that url doesn't exist in the fixtures. I used our own internal "redirector" to create a redirect to an url which exist in the fixtures. Also, updating current migration to use the new `WallabagMigration`.
* | | Drop SimplePieJeremy Benoist2019-05-291-16/+15
| | | | | | | | | | | | | | | It was only used to make an absolute url when downloading images. The deps is still there (in the `composer.lock`) because Graby use it (not for absolute but for encoding).
* | | Fix some Scrutinizer issuesJeremy Benoist2019-05-292-3/+3
|/ /
* | Merge pull request #3944 from shtrom/always-hash-exists-urlJérémy Benoist2019-05-284-14/+33
|\ \ | | | | | | Always hash exists url
| * | Remove useless methodsJeremy Benoist2019-05-241-26/+0
| | | | | | | | | | | | 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-244-3/+56
| | | | | | | | | | | | 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>
* | | Fix tests after rebaseJeremy Benoist2019-05-281-2/+4
| | |
* | | Fix some testsJeremy Benoist2019-05-281-8/+11
| | |
* | | CSJeremy Benoist2019-05-282-2/+2
| | |
* | | Configure timeoutadev2019-05-281-3/+7
| | |
* | | Fix because of some breaking changes of Graby 2.0adev2019-05-281-11/+9
| | |
* | | Use httplugadev2019-05-283-35/+44
| | |
* | | Set first picture as preview picturenicofrand2019-05-212-12/+37
|/ /
* | Merge pull request #3960 from wallabag/api-entries-2817Jérémy Benoist2019-05-211-1/+16
|\ \ | | | | | | 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-181-1/+16
| |/ | | | | | | | | | | | | | | | | | | | | | | 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.
* | 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-268-36/+35
| |
* | Changed RSS to Atom feed and improve pagingThomas Citharel2019-04-2544-299/+336
| |
* | 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
| |