Commit Graph

395 Commits

Author SHA1 Message Date
Thibaud Fabre
47cc31ef77 Improve create index command logging 2016-10-19 13:31:39 +02:00
Thibaud Fabre
8ee6cfc31d Add --drop option to create index command
Forces existing indices to be dropped before re-creating them
2016-10-19 13:31:17 +02:00
Jean-Yves Gaulier
06a66a916f PHRAS-1271_better-buildsubdefs
- new :  doc
 - changed : some options are mandatory
 - changed : es logging to app['monolog'] to respect not-verbose mode (no more broken progress-bar due to log on screen)
2016-10-19 11:22:11 +02:00
Thibaud Fabre
32fe54ac35 Add databox mount command 2016-10-19 06:51:37 +02:00
Thibaud Fabre
efc5842e06 Add create databox console command 2016-10-19 06:51:37 +02:00
Thibaud Fabre
4acd20fa80 Revert "Revert "PHRAS-714_thesaurus_indexation"" 2016-10-18 21:17:10 +02:00
Thibaud Fabre
ba8be47423 Revert "PHRAS-714_thesaurus_indexation" 2016-10-18 20:15:23 +02:00
Thibaud Fabre
eba83584f4 Merge pull request #1986 from jygaulier/PHRAS-1271_better-buildsubdefs
PHRAS-1271_better-buildsubdefs
2016-10-18 18:00:54 +02:00
Jean-Yves Gaulier
0f3ae20d50 PHRAS-1271_better-buildsubdefs
- new :  new options --mode, --all, --scheduled, --reverse, --show-sql
 - changed : option --garbage_collect renamed as --prune
 - changed : verbosity -v prints lines, no verbosity displays progress-bar
2016-10-18 15:09:26 +02:00
Jean-Yves Gaulier
cf40c99ea7 PHRAS-714_thesaurus_indexation
- new : if the thesaurus has been modified since it's last indexation, it will be re-indexed as soon a record is to be indexed.
 - nb : after thesaurus modification, the databox MUST be manually re-indexed (which will reindex the thesaurus before)
 - todo : remove useless dialog boxes from thesaurus app (... "this term was..."  "...add with/out reindexing ?..."). To be done in the future app using future routes.
2016-10-12 18:42:16 +02:00
Thibaud Fabre
3d8d4f6d99 Fix config editor set command 2016-09-27 11:11:02 +02:00
Thibaud Fabre
8b843b9357 Add configuration editor command in setup 2016-09-27 07:49:06 +02:00
Thibaud Fabre
95bb3eedeb Fix duplicate log entries in webhook job 2016-05-18 13:07:28 +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
bc7fa44cf1 PHRAS-1055 #time 15m
- fix fatal error "getName()"
2016-04-06 16:46:54 +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
Benoît Burnichon
421e62d136 Typos in Users in RegenerateSqliteDb command.
PHPCS of tests
2016-03-22 16:09:38 +01:00
Benoît Burnichon
03e0dbae52 reduce duplication and refactor BuildSubdefs Command 2016-03-15 12:24:58 +01:00
Benoît Burnichon
c789c58f93 Refactor BuildMissingSubdefs 2016-03-15 12:24:58 +01:00
Scrutinizer Auto-Fixer
d8d4d79309 Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
2016-03-11 16:13:39 +00:00
Benoît Burnichon
c440486603 Refactor Task Manager related commands. 2016-03-10 15:35:16 +01:00
Jean-Yves Gaulier
2af8b3d954 change "ticks" to 1000
todo : fix vendor(s)...
#PHRAS-997 time 5m
2016-03-10 14:23:17 +01:00
Benoît Burnichon
070917fd9d Simplify Uninstaller process. 2016-02-05 17:09:54 +01:00
Benoît Burnichon
0ef9b668c2 Remove use of gettext shortcut method. 2016-02-01 14:03:29 +01:00
Benoît Burnichon
f2942dac89 Reduce duplication in H264MappingGenerator 2016-01-22 12:23:18 +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
b2ee2668a1 Change to be able to return called API version 2015-12-22 14:19:34 +01:00
Benoît Burnichon
2e1ad08383 Fixup build-missing-subdef command.
PHRAS-855
2015-12-03 15:00:44 +01:00
Florian BLOUET
261339ecd5 remove recess, bower, grunt and uglifyJs dependencies in php utils and tests
updated minifier tests
2015-12-02 17:36:37 +01:00
Benoît Burnichon
560ed7be27 Add options to TranslationDumper command 2015-11-19 12:45:07 +01:00
Benoît Burnichon
8e27a1b1c0 Update HelpMessageExtractor 2015-11-04 16:31:06 +01:00
Benoît Burnichon
8aca5f6126 Use Uuid with its new namespace 2015-10-27 20:14:01 +01:00
Jean-Yves Gaulier
12912a309a PHRAS-374 #time 3h
fix : console build-subdefs can build non existing subdefs, ex. after adding a new subdef name in admin.
2015-09-02 13:49:31 +02:00
Thibaud Fabre
ea6a4fdbf0 Extract repository and factory classes for collections 2015-07-09 12:32:06 +02:00
Benoît Burnichon
f920e8354a Replace phraseanet.appbox by getApplicationBox() method calls. 2015-07-02 12:33:19 +02:00
Benoît Burnichon
d645b92afa Add AclAware Trait 2015-07-02 12:33:18 +02:00
Benoît Burnichon
4880f2bf5a Add getAuthenticator usage
Replace $app['authentication']->getUser() by $app->getAuthenticatedUser()
replace twig app['authentication'].getUser() with corresponding method
2015-07-02 12:33:18 +02:00
Benoît Burnichon
6e651f3b07 Replace app['phraseanet.appbox']->get_databox using trait 2015-07-02 12:27:26 +02:00
Benoît Burnichon
4241fd0e6c WIP with cache 2015-06-10 19:09:38 +02:00
Benoît Burnichon
61206fd517 Replace calls to mediavorus to getMediaFromUri 2015-05-12 18:12:02 +02:00
Benoît Burnichon
31116a14a9 Remove OpCache options as now bundled with PHP5.5+ 2015-05-06 12:00:28 +02:00
Benoît Burnichon
0349db4adb Remove useless cache.paths services, use cache.path instead 2015-05-06 11:59:49 +02:00
Jean-Yves Gaulier
a0815afcd5 - restore task interfaces
- remove task "phraseanet-indexer"
todo :
task "recordmover"
2015-04-29 14:48:22 +02:00
Mathieu Darse
99e62f7530 QueryParser -> QueryCompiler 2015-03-30 16:17:40 +02:00
Benoît Burnichon
630d97f10f Merge pull request #1322 from bburnichon/feature/task-manager-start
task manager start
2015-03-26 09:52:10 +01:00
Benoît Burnichon
c627e3c559 Fix some 'use' statements related to TaskManagr 2015-03-24 20:06:50 +01:00
Benoît Burnichon
a814208a6b Merge pull request #1315 from mdarse/cross-fields-multi-word-query
Working cross-fields queries with multiple words (without operators)
2015-03-24 18:42:13 +01:00
Mathieu Darse
771aa5b765 Working cross-fields queries with multiple words (without operators)
- Index the full content of a record in a (private_)content_all field
- Handle all fields wide search as a special-case (drastically simplify queries)
- QueryContext doesn't take all allowed fields anymore, but whether private
fields are allowed or not. Since private fields are namespaced, field level
restriction is not needed anymore.
2015-03-24 17:52:30 +01:00
Benoît Burnichon
e5f48a2f09 Disable ZMQNotifier in setup_mode 2015-03-24 16:06:27 +01:00