Commit Graph

214 Commits

Author SHA1 Message Date
Benoît Burnichon
0030e51561 WIP RecordTransformer 2016-05-12 16:07:09 +02:00
Benoît Burnichon
0832343c66 WIP 2016-05-12 16:07:09 +02:00
Benoît Burnichon
0474703d62 Change Api SearchController to use Fractal 2016-05-12 16:07:09 +02:00
Benoît Burnichon
b05f9caf6c Merge branch '4.0' into merge-4.0 2016-04-21 13:27:10 +02:00
Benoît Burnichon
3ca3019668 Wipe record ids out of API search response
Fix PHRAS-1085
2016-04-21 11:15:38 +02:00
Benoît Burnichon
1e18b3e69f This is a combination of 33 commits.
- Squashed Pull request #1730
- Squashed Pull request #1741
- Squashed Pull request #1742
- Squash merge branch 4.0
- Squashed Pull request #1744
- Squashed Pull request #1746
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed merge branch 4.0
- Squashed Pull request #1758
- Avoid using imagine/imagine alias as it is causing install issues
- Squashed merge branch 4.0
- Squashed Pull request #1763
- Squashed merge branch 4.0
- Squash of 6 commits
- Squashed merge branch 4.0
- This is a combination of 2 commits.
- Squashed Pull request #1775
- Squashed Pull request #1777
- Squashed Pull request #1779
- Squashed Pull request #1780
- Squashed Pull request #1782
- Adds a Pull request template
- Squased Pull request #1783
- Squash Pull request #1786
- Squashed Pull request #1796
- Squashed merge branch 4.0
- Squash Pull request #1791
- Squashed merge branch 4.0
- Squashed Pull request #1808
- Squashed Pull request #1811
- Squashed Pull request #1809
2016-04-20 16:22:14 +02:00
Benoît Burnichon
033542ac2f Remove some arguments from query and add them to options 2016-04-15 16:36:28 +02:00
Benoît Burnichon
4171ab9e8d Rename record_adapter::get_status into getStatus 2016-04-13 19:51:56 +02:00
Benoît Burnichon
7a25b499e3 Deprecated set_binary_status and use setStatus instead. 2016-04-13 18:50:39 +02:00
Benoît Burnichon
d0dcdf6e6f Add NullableDateTime formatting class 2016-04-12 12:11:13 +02:00
Benoît Burnichon
8505c24bdf Merge branch '4.0' 2016-04-11 14:28:28 +02:00
Jean-Yves Gaulier
1c63194400 PHRAS-1065 #time 1h
backport PHRAS-947
2016-04-06 19:10:54 +02:00
Benoît Burnichon
40cf44c07f Add MediaAccessor subdef url generator 2016-04-04 12:34:00 +02:00
Benoît Burnichon
3597ebc7c2 Search should always use multiple retrival strategy 2016-03-29 14:57:44 +02:00
Benoît Burnichon
c580b55c3e Remove one N+1 by fetching TechnicalDataSets 2016-03-29 14:57:44 +02:00
Benoît Burnichon
63d4923292 Remove some unused statements 2016-03-22 15:55:51 +01:00
Benoît Burnichon
c394887a19 Move Order controllers to same namespace 2016-03-21 11:22:59 +01:00
Benoît Burnichon
02829094ce WIP 2016-03-21 11:22:59 +01:00
Benoît Burnichon
a5c6f39bdd Merge branch '4.0' 2016-03-08 13:08:32 +01:00
Benoît Burnichon
8f6f475b7d Add private fields to caption when available to user 2016-03-07 18:39:29 +01:00
Benoît Burnichon
63fd462abe Change listRecordCaption argument to record_adapter 2016-03-07 13:41:37 +01:00
Benoît Burnichon
b0330d8f56 Added RecordReferenceCollection utility method 2016-03-07 12:30:51 +01:00
Benoît Burnichon
b9f1f84020 More deprecation removal 2016-03-06 23:30:12 +01:00
Benoît Burnichon
6cdc9d7a31 Remove some deprecated methods calls 2016-03-06 23:05:55 +01:00
Benoît Burnichon
25fd47fa7b Added RecordReferenceCollection utility method 2016-03-04 15:27:00 +01:00
Benoît Burnichon
a894faf1fa Add show action to OrderController
Also refactor OrderController
2016-03-04 14:21:23 +01:00
Benoît Burnichon
20bc04979f Add api_v2_orders_index route 2016-03-04 14:21:23 +01:00
Benoît Burnichon
ac78b7c3fa Add Fractal Manager to serialize includes 2016-03-04 14:21:22 +01:00
Benoît Burnichon
bcf9bd84d9 Properly return serialized Order 2016-03-04 14:21:22 +01:00
Benoît Burnichon
ed04f66548 Add Api Order Controller 2016-03-02 14:34:50 +01:00
Benoît Burnichon
a8a00d735a Remove some unused statements 2016-03-02 14:34:50 +01:00
Benoît Burnichon
c63f8d777f Merge branch '4.0'
Conflicts:
	composer.lock
	lib/Alchemy/Phrasea/ControllerProvider/Api/V2.php
2016-02-23 16:27:04 +01:00
Benoît Burnichon
a119478097 Change Version to use timestamp from database.
Only elasticsearch knows about its version field. This can be hard to maintain.
2016-02-23 13:22:37 +01:00
Thibaud Fabre
2addb91b13 Simplify V2 search controller
- Remove unnecessary fetching from database
- Remove redundant suggestions key in response (same as facets)
2016-02-23 02:33:37 +01:00
Jean-Yves Gaulier
1388fcf3de #PHRAS-947 time 4h
prod/LazaretController uses the manipulator
new route to empty the quarantine
DELETE /api/v2/quarantine/
2016-02-22 18:06:02 +01:00
Jean-Yves Gaulier
1f32977b0e #PHRAS-947 time 1d
first commit
new routes
DELETE /api/v2/quarantine/item/{{item_id}}/
POST /api/v2/quarantine/item/{{item_id}}/add
2016-02-22 18:06:02 +01:00
Benoît Burnichon
59a334ea32 New search style 2016-02-22 14:07:16 +01:00
Benoît Burnichon
6aa56f24ac Add SearchEngineResultToRecordsConverter 2016-02-22 14:07:16 +01:00
Benoît Burnichon
054f78815d group record_adapter fetching in API 2016-02-17 17:07:55 +01:00
Benoît Burnichon
0ef9b668c2 Remove use of gettext shortcut method. 2016-02-01 14:03:29 +01:00
Benoît Burnichon
14cd8a1903 Use existing SubdefSubstituer service i/o record_adapter 2016-01-26 19:17:41 +01:00
Benoît Burnichon
614394edc7 Method renaming 2016-01-26 14:25:08 +01:00
Thibaud Fabre
c92d5da9fe Merge branch 'clean-boxes' into merge-clean-boxes 2016-01-06 19:53:43 +01:00
Benoît Burnichon
51023c5533 bump copyright year 2016-01-05 13:38:14 +01:00
Benoît Burnichon
30b8ec66ed Add API add/remove elements. Change prod basket management 2015-12-22 17:44:34 +01:00
Benoît Burnichon
00d0ea66bb Change getIsRead to isRead 2015-12-22 14:25:13 +01:00
Benoît Burnichon
985ec4a491 Extract JsonBodyHelper and use it 2015-12-22 14:24:32 +01:00
Benoît Burnichon
6a8a227bc1 Refactor add/remove records from stories 2015-12-22 14:24:32 +01:00
Benoît Burnichon
3a1a39cbd9 Refactor and fixup some bugs in V1Controller 2015-12-22 14:24:32 +01:00
Benoît Burnichon
b2ee2668a1 Change to be able to return called API version 2015-12-22 14:19:34 +01:00