Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge pull request #3271 from wallabag/store-resolved-url | Jérémy Benoist | 2019-06-05 | 1 | -10/+58 |
|\ | | | | | Add `given_url` in Entry table to check if a redirected url has already added | ||||
| * | Typos | Jeremy Benoist | 2019-06-05 | 1 | -2/+2 |
| | | |||||
| * | Use two indexes instead of one for hashed urls | Jeremy Benoist | 2019-06-05 | 1 | -1/+2 |
| | | | | | | | | | | 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 duplicate | Jeremy Benoist | 2019-05-29 | 1 | -43/+56 |
| | | | | | | | | Using hashed url we can ensure an index on them to ensure it's fast. | ||||
| * | Added given_url in entry table | Nicolas Lœuillet | 2019-05-29 | 1 | -1/+35 |
| | | | | | | | | | | | | | | | | | | | | - 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`. | ||||
* | | Fix some Scrutinizer issues | Jeremy Benoist | 2019-05-29 | 1 | -1/+1 |
|/ | |||||
* | Add Wallabag\CoreBundle\Helper\UrlHasher | Olivier Mehani | 2019-05-24 | 1 | -1/+2 |
| | | | | Signed-off-by: Olivier Mehani <shtrom@ssji.net> | ||||
* | Fix index on MySQL | Jeremy Benoist | 2019-04-01 | 1 | -1/+1 |
| | |||||
* | Use a better index for hashed_url | Jeremy Benoist | 2019-04-01 | 1 | -2/+3 |
| | | | | | | 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 endpoint | Jeremy Benoist | 2019-04-01 | 1 | -2/+2 |
| | | | | | | - 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 exist | Thomas Citharel | 2019-04-01 | 1 | -1/+29 |
| | | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr> | ||||
* | Entry: add archived_at property and updateArchived method | Sébastien Viande | 2018-09-21 | 1 | -1/+48 |
| | |||||
* | Fix phpcs | Kevin Decherf | 2017-11-19 | 1 | -2/+2 |
| | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Add originUrl property to Entry, handle that in EntryRestController, handle ↵ | Kevin Decherf | 2017-11-19 | 1 | -0/+33 |
| | | | | | | migration Signed-off-by: Kevin Decherf <kevin@kdecherf.com> | ||||
* | Changed reading_time field to prevent null values | Nicolas Lœuillet | 2017-10-13 | 1 | -2/+2 |
| | |||||
* | Set a starred_at field when an entry is starred. | François D | 2017-08-25 | 1 | -0/+47 |
| | | | | | | | | This date is used to sort starred entries. Can not use Entry::timestamps method otherwise starred_at will be updated each time entry is updated. Add an updateStar method into Entry class A migration script has been added in order to set starred_at field. | ||||
* | Add EntityTimestampsTrait to handle dates | Jeremy Benoist | 2017-07-06 | 1 | -13/+3 |
| | | | | Refactorize timestamps() method to avoid re-writing it on each entity | ||||
* | Fix PATCH method | Jeremy Benoist | 2017-07-03 | 1 | -0/+16 |
| | | | | | The PATCH method for the entry should only update what user sent to us and not the whole entry as it was before. Also, sending tags when patching an entry will now remove all current tags & assocatied new ones. | ||||
* | Add a real configuration for CS-Fixer | Jeremy Benoist | 2017-07-01 | 1 | -5/+5 |
| | |||||
* | Few fixes | Jeremy Benoist | 2017-06-10 | 1 | -0/+1 |
| | |||||
* | Add public filter/field in the API | Jeremy Benoist | 2017-06-10 | 1 | -0/+4 |
| | | | | | | Listing entries can now be filtered by “public”. Creating or patching an entry can now set is to public or remove the public. Entry response now include “is_public” boolean field | ||||
* | Add isPublic filter on entries | Jeremy Benoist | 2017-06-10 | 1 | -0/+10 |
| | |||||
* | CS | Jeremy Benoist | 2017-05-30 | 1 | -1/+1 |
| | |||||
* | Fix some Scrutinizer issues | Jeremy Benoist | 2017-05-30 | 1 | -3/+3 |
| | |||||
* | Replaced json_array with array | Nicolas Lœuillet | 2017-05-11 | 1 | -4/+4 |
| | | | | And fixed failing test due to @j0k3r :trollface: | ||||
* | Added headers field in Entry | Nicolas Lœuillet | 2017-05-11 | 1 | -1/+30 |
| | |||||
* | Merge pull request #3024 from wallabag/store-date | Nicolas Lœuillet | 2017-04-18 | 1 | -0/+58 |
|\ | | | | | Added publication date and author | ||||
| * | Added author of article | Nicolas Lœuillet | 2017-04-09 | 1 | -0/+29 |
| | | |||||
| * | Added publication date | Nicolas Lœuillet | 2017-04-05 | 1 | -0/+29 |
| | | |||||
* | | Remove isPublic from Entry entity fix #2598 | Maxime | 2017-04-13 | 1 | -25/+0 |
|/ | |||||
* | Renamed uuid to uid | Nicolas Lœuillet | 2016-12-29 | 1 | -13/+13 |
| | |||||
* | Changed uuid type in database | Nicolas Lœuillet | 2016-12-25 | 1 | -1/+1 |
| | |||||
* | Fixed index on entry.uuid and changed uuid field type | Nicolas Lœuillet | 2016-12-25 | 1 | -3/+5 |
| | |||||
* | Added index on table creation | Nicolas Lœuillet | 2016-12-23 | 1 | -1/+2 |
| | |||||
* | Be consistent between migration & schema definition | Jeremy Benoist | 2016-12-19 | 1 | -1/+1 |
| | |||||
* | Replace http status with a string | Nicolas Lœuillet | 2016-11-18 | 1 | -2/+2 |
| | | | | I don't want to have 0 if we don't fetch status code, I think it's better to have an empty string, mainly for filters | ||||
* | Added http_status in Entry entity | Nicolas Lœuillet | 2016-11-18 | 1 | -0/+29 |
| | |||||
* | Add index into Table definition | Jeremy Benoist | 2016-11-04 | 1 | -1/+5 |
| | |||||
* | Fix emoji insertion in MySQL | Jeremy Benoist | 2016-10-22 | 1 | -1/+1 |
| | | | | | Switch to utf8mb4 instead of utf8 because f*** MySQL See https://github.com/doctrine/dbal/pull/851 | ||||
* | Add ability to reset some datas | Jeremy Benoist | 2016-10-22 | 1 | -2/+2 |
| | | | | | | - annotations - tags - entries | ||||
* | Fix relations export for Entry | Jeremy Benoist | 2016-10-07 | 1 | -2/+15 |
| | | | | | Tags & Annotations weren’t really well exported. This is now fixed (+ tests) | ||||
* | Fix DateTime & clear() | Jeremy Benoist | 2016-09-11 | 1 | -5/+5 |
| | |||||
* | Add ability to define created_at for all import | Jeremy Benoist | 2016-09-11 | 1 | -2/+17 |
| | | | | | | At the moment only Readability & wallabag v2 import allow created_at import. Pocket removed `time_added` field from their API v2 to v3... And wallabag v1 doesn't export that value. | ||||
* | Export dates from entries | Jeremy Benoist | 2016-09-08 | 1 | -2/+2 |
| | |||||
* | Update test | Jeremy Benoist | 2016-08-24 | 1 | -1/+1 |
| | | | | and some cleanup | ||||
* | Change annotation for uuid field | Nicolas Lœuillet | 2016-08-24 | 1 | -3/+3 |
| | |||||
* | Change share entry behavior | Nicolas Lœuillet | 2016-08-23 | 1 | -2/+5 |
| | |||||
* | Add test and fix migration | Nicolas Lœuillet | 2016-08-23 | 1 | -1/+2 |
| | |||||
* | Share entry with a public URL | Nicolas Lœuillet | 2016-08-23 | 1 | -0/+38 |
| | |||||
* | Change ManyToMany between entry & tag | Jeremy Benoist | 2016-06-23 | 1 | -2/+15 |
| | | | | | | | | | | | | Following https://gist.github.com/Ocramius/3121916 Be sure to remove the related entity when removing an entity. Let say you have Entry -> EntryTag -> Tag. If you remove the entry: - before that commit, the EntryTag will stay (at least using SQLite). - with that commit, the related entity is removed |