Commit Graph

2600 Commits

Author SHA1 Message Date
Jean-Yves Gaulier
c6186abe56 PHRAS-946_delete-record-api
- add : api route to delete record : verb DELETE ; /api/v1/records/{{databox_id}}/{{record_id}}
2016-09-29 15:54:04 +02:00
moctardiouf
4ff084ffe5 fix syntax error text_mail_receiver 2016-09-16 19:21:27 +02:00
Thibaud Fabre
303a39e359 Allow removing order masters without adding a new one 2016-07-29 14:46:18 +02:00
Jean-Yves Gaulier
9e891d4ae9 PHRAS-1164_Backport-PHRAS-1158-to-4.0
#time 20m
2016-06-16 16:02:26 +02:00
Thibaud Fabre
82c6f809c9 Fix duplicated extensions 2016-06-14 09:36:49 +02:00
Thibaud Fabre
fab4a6e6d5 Fix incorrect file names for filename containing dots 2016-06-13 18:57:23 +02:00
Thibaud Fabre
a2ae899121 PHRAS-573 Add status rights in /me response 2016-05-25 14:08:34 +02:00
Thibaud Fabre
bf08667d0d PHRAS-572 List user rights by databox in /me route 2016-05-25 11:57:03 +02:00
Florian BLOUET
b7a3571d04 PHRAS-851 - add databox name, collection name and logo to record title in preview 2016-05-23 11:36:25 +02:00
Thibaud Fabre
f489043280 Merge pull request #1872 from bburnichon/bug/slash-in-permalink-labels-PHRAS-1079
Slash in permalink labels
2016-05-20 17:41:38 +02:00
Benoît Burnichon
2d60fe854e str_replace / by _ in labels of permalinks 2016-05-20 17:19:46 +02:00
Benoît Burnichon
086e7c126c Enlarge FeedEntry length to 1024 chars 2016-05-20 17:01:36 +02:00
Benoît Burnichon
2547ef14fa Add Archive download to Api v2 orders 2016-05-20 13:16:41 +02:00
Benoît Burnichon
db3bb2d4c4 Slight refactor of set_export to avoid N+1 2016-05-20 10:18:30 +02:00
Thibaud Fabre
edaf603552 Merge pull request #1859 from bburnichon/improvement/search-v4
Backport of #1831 into 4.0
2016-05-19 16:42:17 +02:00
Benoît Burnichon
f0e2ff2bd1 Backport PHP7 issue fix in Youtube Bridge 2016-05-19 14:08:48 +02:00
Benoît Burnichon
71b370f766 Fixup calls order to avoid N+1 2016-05-19 13:44:01 +02:00
Benoît Burnichon
7aa499716b Add Caption Service and Repositories 2016-05-19 13:44:01 +02:00
Jean-Yves Gaulier
10e4a7a961 PHRAS-1101_BACKPORT-4.0
- fix : some elements of "train" don't display preview/caption when selected (due to code exception)
2016-05-17 20:23:20 +02:00
Thibaud Fabre
c7b1b6b78d Merge pull request #1830 from aztech-dev/feature/order-webhooks
Add webhook notifications for order events
2016-05-12 14:59:59 +02:00
Benoît Burnichon
8e693964df Refactor getChildren() and get_grouping_parents() 2016-05-11 17:50:57 +02:00
Benoît Burnichon
ea9458da77 Avoid calling cache when data is already present 2016-05-11 17:50:57 +02:00
Thibaud Fabre
2e815bc463 Add SQL migration for new order column and fix docblocks 2016-05-11 16:59:36 +02:00
Benoît Burnichon
fca3146f91 Remove subdef etag when marking physically unavailable 2016-04-22 17:07:18 +02:00
Benoît Burnichon
f84f625a4e All media_subdef updates go to the repository 2016-04-22 16:15:37 +02:00
Benoît Burnichon
2b097e9be7 Extract SubdefGroup class 2016-04-22 12:38:33 +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
Jean-Yves Gaulier
e6b1ad4f2f PHRAS-1055 #time 1h
- no bug concerning --max_record
- add try/catch so the job don't stop on errors

PHRAS-1055 #time 5h
- add option --dry
- add verbose print (-v)
- add "ALL" for type and subdef arguments
- fix "substitute" options
- fix show sql with arguments

PHRAS-1055 #time 5h
- better error handling
- argument "databox" can be specified as id, dbname or viewname
- add option "--partition=n/N"
- argument "type" changed to option "--record_type=a,b,c" (can also be set as "--record_type=a,b --record_type=c")
- argument "subdefs" changed to option "--name=x,y,z" (can also be set as "--name=x,y --name=z")
- option "--with-substitution" changed to "--with_substituted"
- option "--substitution-only" changed to "--substituted-only"

PHRAS-1055 #time 2h
- change lone argument (databox) to option "--databox" (mandatory)
- add option "--missing_only" to create missing subdefs after structure change.
- add option "--garbage_collect" to remove orphan subdefs left by structure change.

PHRAS-1055 #time 1m
- cleanup

PHRAS-1055 #time 2h
- cleanup
- add option "--reset_subdef_flag"
- add option "--set_writemeta_flag"

PHRAS-1055 #time 1m
- fix vocabulary (flag)
2016-04-06 11:36:00 +02:00
Thibaud Fabre
2e1ef8e279 Fix watermark getter 2016-03-23 18:02:48 +01:00
Florian BLOUET
755aac9e3e PHRAS-1038 - fix story navigation in workzone context 2016-03-22 17:17:01 +01:00
Benoît Burnichon
96295eab7b Extract CollectionReferenceCollection class from ACL. 2016-03-22 16:15:44 +01:00
Benoît Burnichon
b150cd8925 Allow some Acl method to be used with RecordReference 2016-03-22 16:13:22 +01:00
Benoît Burnichon
f07b7b6722 WIP 2016-03-22 16:13:19 +01:00
Benoît Burnichon
9398891f5c Allow retrieve collection by a collection of base ids 2016-03-22 16:12:01 +01:00
Benoît Burnichon
51519ce4a2 Avoid N+1 in User_Query 2016-03-22 15:55:53 +01:00
Benoît Burnichon
f2e62abd8b Remove !count() calls 2016-03-11 18:03:53 +01:00
Benoît Burnichon
f8411fd409 Special handling of field with no source 2016-03-09 18:43:48 +01:00
Benoît Burnichon
e52273480b Rename Nosource tag into NoSource. Add fieldName property 2016-03-09 16:09:10 +01:00
Benoît Burnichon
4c9ad1f056 fix databox_field tag initialization 2016-03-09 13:50:48 +01:00
Benoît Burnichon
6d2df0f9bd fixup Nosource to be properly initialized. Tag should be Value Objects 2016-03-09 13:50:44 +01:00
Jean-Yves Gaulier
b6cc58a68e PHRAS-987 1h
PNG-Subdefs (port from 3.8)
2016-03-08 12:09:35 +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
5ee7f3689a Use recently added getDataboxConnection method 2016-03-07 12:29:05 +01:00
Benoît Burnichon
e01088d38d Add RecordReference into record_adapter 2016-03-07 12:28:40 +01:00
Benoît Burnichon
37bcd1d909 Increase maxFilenameLength to 256 and allow to overrid value from code. 2016-02-26 16:18:48 +01:00
Benoît Burnichon
6129cc6dd2 Introduce MAX_FILENAME_LENGTH const 2016-02-26 16:18:48 +01:00
Benoît Burnichon
7c93657e73 Error in fetching User ID. Improvement of SQLs
Fixes PHPCS in set classes.
2016-02-26 16:18:48 +01:00
Benoît Burnichon
6e1be6099f Avoid cache requests on subdef already in cache. 2016-02-26 16:18:11 +01:00
Benoît Burnichon
8a907e9bb0 Add touch capability to record_adapter. 2016-02-23 10:40:01 +01:00
Benoît Burnichon
90b4ad596c Check whether subdef exists before perform get on it 2016-02-17 12:41:06 +01:00