Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
Thomas Casteleyn
fc97491708
N°6105 - Cleanup unnecessary use of dirname(__FILE__) ( #453 )
2023-03-14 18:51:01 +01:00
odain
939771aa15
N°6022 - Make synchro scripts work by http via token authentication with SYNCHRO scopes
2023-02-27 11:07:52 +01:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
nv35
a5052ef42b
🔊 Print data source id in synchro_exec output ( #183 )
...
As it is possible to execute multiple data source sync in one command run, print the corresponding data source name before its output.
2021-02-11 16:47:10 +01:00
Pierre Goiffon
745e4aa424
Merge remote-tracking branch 'origin/develop' into feature/backoffice-full-moon-design
...
# Conflicts:
# webservices/import.php
2020-09-18 10:48:34 +02:00
Thomas Casteleyn
0542a8e4f8
Synchro cleanup ( #157 )
...
* Cleanup duplicate code
* Document undocumented parameter
* Removed duplicate code for consistency
2020-09-14 09:53:40 +02:00
Eric
63f8ec594c
N°2847 - Refactor Web Pages classes - Add UIBlockManager to the WebPage
2020-09-09 18:10:06 +02:00
Pierre Goiffon
b7136c0b7a
N°2214 Add PHP check in CLI scripts
...
It is quite common that the PHP interpreter that is launched in CLI is different that the one used by the webserver. So iTop code launched by CLI could run in a context that doesn't meet iTop requirements !
This adds in the following scripts the same control that is done on the setup wizard first step :
* cron.php
* backup, check-backup
* export, exportv2
* bulk import
* synchro-exec, synchro-import
If the check throws at least one error then the script is stopped with an appropriate message, and a log is made (IssueLog, Error level, CLI channel)
(cherry picked from commit c768e18e2b : no risk taken for 2.7.1, so cherry picked for 2.8.0)
2020-06-15 15:20:17 +02:00
bruno DA SILVA
08c1f4f072
autoload rework
...
- bootstrap.inc.php is now included by approot.inc.php
- remove all unescessaries includes of bootstrap.inc.php
- in bootstrap.inc.php autoload can be bypassed using a feature flag because "why not"
2019-11-08 16:51:57 +01:00
Molkobain
947e26d864
Internal: Change how the bootstrap.inc.php file is included in endpoints (This completes commit ec095896)
2019-08-13 17:38:51 +02:00
Molkobain
ec09589646
N°2439 Add real autoloader for framework files (not modules)
2019-08-13 13:46:19 +02:00
Stephen Abello
21e5eee31f
N°1930: Security hardening
2019-01-14 11:59:45 +01:00
Romain Quetiez
721faa7e1e
Updated copyright (2012) and license (LGPL changed to AGPL)
...
SVN:trunk[2333]
2012-10-23 21:41:36 +00:00
Romain Quetiez
9ac4f84e22
#489 Run the synchro with parameter max_chunk_size to split the execution into several processes, each loading at most the given count of replica (note: the master process will continue to run while child processes are being forked one by one)
...
SVN:trunk[1732]
2011-12-20 15:55:07 +00:00
Denis Flaven
18c9852db3
Enhancement: when an (optional) external key cannot be reconciled, log a warning on the replica. the replicas containing a warning are then processed everytime in case the ext key changes
...
Also improved the search/display of replicas
SVN:trunk[1675]
2011-11-18 11:29:04 +00:00
Denis Flaven
b02021a4ff
Still fixing regressions caused by Trac#446: XSS vulnerabilities...
...
SVN:trunk[1450]
2011-08-12 10:06:33 +00:00
Denis Flaven
781ec7e33a
In CLI mode, do not depend on the current directory: the script can be run from anywhere.
...
SVN:trunk[1414]
2011-08-01 16:13:37 +00:00
Romain Quetiez
88a29fd8d1
#370 standard argument for CLI/REST services: param_file
...
SVN:trunk[1220]
2011-04-19 15:48:39 +00:00
Romain Quetiez
ada0b310ae
cron.php - Fixed error message
...
SVN:trunk[1214]
2011-04-13 09:16:37 +00:00
Romain Quetiez
78396eafe3
Cron - enabled mode CLI
...
SVN:trunk[1138]
2011-03-21 11:41:08 +00:00
Denis Flaven
be1d8674f3
Data Exchange implementation in progress...
...
SVN:trunk[1104]
2011-03-02 09:12:15 +00:00
Romain Quetiez
bddb8b4c92
Data Exchange - Format and save traces (config option: synchro_trace)
...
SVN:trunk[1102]
2011-03-01 16:21:04 +00:00
Romain Quetiez
a1b9bdaf66
Data Exchange - Improved handling of deletion (inc. the reporting of it)
...
SVN:trunk[1099]
2011-02-25 17:22:51 +00:00
Romain Quetiez
36278d59a8
Data Exchange - Implemented checks on sync startup (user identity, task state, protection against entire obsolescence) and added a "last error" into the logs
...
SVN:trunk[1097]
2011-02-24 17:21:48 +00:00
Romain Quetiez
cd71f02fad
Data Exchange - Implemented reconciliation options + cosmetics on synchro_exec
...
SVN:trunk[1093]
2011-02-23 17:32:21 +00:00
Romain Quetiez
d1879d0433
Data Exchange - Simulate mode on synchro_exec + cleanup in traces + handling of null values
...
SVN:trunk[1091]
2011-02-23 14:55:51 +00:00
Denis Flaven
cccea50159
Added an extra parameter 'simulate'
...
SVN:trunk[1089]
2011-02-22 15:21:40 +00:00
Denis Flaven
eb0ba24d7d
- Data Exchange implementation... in progress.
...
SVN:trunk[1078]
2011-02-08 13:34:47 +00:00
Denis Flaven
f9a380b12d
DataExchange: implementation in progress.
...
SVN:trunk[1062]
2011-02-02 14:48:45 +00:00