aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix third argument to RouteJeremy Benoist2019-01-222-4/+2
|
* Factorize sendResponse between Api controllersJeremy Benoist2019-01-223-38/+19
| | | | And run newer cs fixer
* [wallabag/wallabag#2611] Fix PHPCS lint errorsCraig Roberts2019-01-221-6/+0
|
* Fixes [wallabag/wallabag#2611] Add a basic Search REST endpointCraig Roberts2019-01-222-0/+96
| | | | | | | - Adds a new `search` key to `src/Wallabag/ApiBundle/Resources/config/routing_rest.yml` - Reuses the `getBuilderForSearchByUser` method from the EntryRepository - Supports, `term`, `page`, and `perPage` query parameters - Some very basic tests
* Update icon to `casino`Jeremy Benoist2019-01-222-2/+2
|
* Handle no random result foundJeremy Benoist2019-01-191-1/+6
|
* Fix status from InstapaperJeremy Benoist2019-01-191-1/+0
| | | | That status was used as `http_status` in ContentProxy->stockEntry
* 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)
* Add a new endpoint to retrieve information from the wallabag instanceJeremy Benoist2019-01-151-0/+20
| | | | | | | Useful for api client which required some information. We might add more inside them in the future. The endpoint /api/version should be avoided now as it contains not so much information rather the version.
* CSJeremy Benoist2019-01-153-3/+3
|
* Merge remote-tracking branch 'origin/master' into 2.4Jeremy Benoist2019-01-1541-215/+497
|\
| * Avoid error when a bad `order` parameter is givenJeremy Benoist2019-01-142-14/+23
| | | | | | | | 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>
| * | Merge pull request #3831 from wallabag/fix/api-bad-client-idJérémy Benoist2019-01-102-1/+20
| |\ \ | | | | | | | | Cast client id to avoid PG error
| | * | Cast client id to avoid PG errorJeremy Benoist2019-01-092-1/+20
| | | | | | | | | | | | | | | | If someone send a malformated client_id when trying to authenticate using the API we got a 500 if wallabag use postgres because the request send a string instead of an integer.
| * | | Update entries.html.twigEloi Coutant2019-01-101-2/+2
| | | | | | | | | | | | Should fix https://github.com/wallabag/wallabag/issues/3832
| * | | Update entries.html.twigEloi Coutant2019-01-101-2/+2
| | |/ | |/| | | | Should fix https://github.com/wallabag/wallabag/issues/3832
| * | Merge pull request #3827 from wallabag/epub-quoteKevin Decherf2019-01-071-2/+8
| |\ \ | | | | | | | | EntriesExport/epub: replace epub identifier with unique urn
| | * | EntriesExport/epub: replace epub identifier with unique urnKevin Decherf2019-01-061-2/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We replace the title used as the unique identifier of the epub file with a urn following the format: urn:wallabag:{sha1("wallabagUrl:listOfEntryIdsSeparatedByComma")} This format is repeatable: it always gives the same uid for the same list of entries. Fixes #3811 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * | | Merge pull request #3820 from ↵Jérémy Benoist2019-01-071-4/+3
| |\ \ \ | | |/ / | |/| | | | | | | | | | lizyn/bugfix/incorrect-calculation-of-CJK-characters-in-reading-time-estimation Fix incorrect reading time calculation for entries with CJK characters
| | * | Counting two characters together as a word in CJKlizyn2019-01-061-1/+1
| | | |
| | * | Improve reading time testsJeremy Benoist2019-01-041-3/+2
| | | |
| | * | fix incorrect reading time calculation for entries with CJK characterslizyn2018-12-251-1/+1
| | |/
| * | Merge pull request #3816 from wallabag/validate-import-entryJérémy Benoist2019-01-0410-4/+108
| |\ \ | | | | | | | | Validate imported entry to avoid error on import
| | * | Validate imported entry to avoid error on importJeremy Benoist2019-01-0310-4/+108
| | |/ | | | | | | | | | | | | We got some imports with a missing `url` field generating some errors while trying to retrieve an existing entry with that url. Introducing the `validateEntry` allow us to dismiss a message when it doesn't have an url (or other missing stuff in the future)
| * | TagRestController: rewrite delete actions to only retrieve tags related to ↵Kevin Decherf2018-12-302-11/+28
| | | | | | | | | | | | | | | | | | | | | | | | the user Fixes #3815 Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * | TagRepository: refactor query builder for queries by userIdKevin Decherf2018-12-301-16/+20
| | | | | | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * | fixtures: refactor EntryData, TagData, add a new tagKevin Decherf2018-12-292-118/+122
| |/ | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * Merge pull request #3782 from wallabag/issue-3779Kevin Decherf2018-11-261-6/+5
| |\ | | | | | | material: fix missing thumbnail on list view
| | * material: fix missing thumbnail on list viewKevin Decherf2018-11-251-6/+5
| | | | | | | | | | | | Signed-off-by: Kevin Decherf <kevin@kdecherf.com>
| * | Merge pull request #3784 from giuppi/masterJérémy Benoist2018-11-261-1/+1
| |\ \ | | | | | | | | Fix Android app login issue
| | * | Fix Android app login issuegiuppi2018-11-251-1/+1
| | |/ | | | | | | class and alt tags must be in the correct order for the android app to recognize the wallabag server
| * | Merge pull request #3765 from burkemw3/patch-2Jérémy Benoist2018-11-262-7/+0
| |\ \ | | |/ | |/| Remove preview picture from single entry view page for #1875
| | * Remove preview picture from single entry view page for #1875Matt Burke2018-11-242-7/+0
| | | | | | | | | | | | | | | | | | Showing the preview picture usually leads to showing a duplicate image, and frequently leads to showing duplicate images directly adjacent to each other.