Pierre Goiffon
24eb82d140
N°2361 Deprecate DB*Tracked methods
...
* update methods PHPDoc
* DBInsertTracked update callers
* DBInsertTrackedNoReload update callers
* DBUpdateTracked update callers
* DBDeleteTracked update callers
2019-11-15 17:56:04 +01:00
Pierre Goiffon
7235c63445
Abstract implementation for iScheduledProcess ( #89 )
...
* 📝 little PHPDoc in BackupExec
* ♻️ Create a extendable implementation of iScheduledProcess
* create AbstractWeeklyScheduledProcess
* move schedule methods to the new abstract class
* create ProcessInvalidConfigException
* in cron.php skip abstract class
2019-11-15 14:41:00 +01:00
Stephen Abello
b91183e9ec
N°1986 Portal: Fix read-only forms from da5ccaa to work with auto-generated ones
2019-11-13 11:19:26 +01:00
Stephen Abello
23466f6e00
📝 typo in PHPDoc
2019-11-08 17:13:15 +01: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
Pierre Goiffon
1194c5c7fe
🎨 sla-computation : fix PHPDoc + format code
2019-11-08 15:30:47 +01:00
Eric
f63fb16233
N°2135 - Setup callbacks for MTP
2019-11-08 14:05:24 +01:00
Pierre Goiffon
fd77554cb7
N°2555 action_rule : fix add_to_list regression
...
Loop was removed in 5c483efd but we need it !
Sample rule that needs such a loop :
<action_rule id="N2555_multiple_results_addtolist" _delta="define">
<source_oql>SELECT Person WHERE id > 0</source_oql>
<presets>
<preset id="1">add_to_list(id, contacts_list)</preset>
</presets>
</action_rule>
2019-11-07 14:56:39 +01:00
Stephen Abello
541226356c
📝 typo in PHPDoc
2019-11-07 11:38:08 +01:00
Eric
d035130d00
N°2240 - Supportability - Maintenance mode
2019-11-07 09:16:06 +01:00
Stephen Abello
da5ccaaa85
N°1986 Portal: Forms with only transition buttons are now read-only
2019-11-05 12:17:54 +01:00
bruno DA SILVA
d9ad3f5e98
typo & unused variable removal
...
thank you @Hipska !
2019-11-04 15:02:19 +01:00
bruno DA SILVA
57116ef054
1627 - Ticket ref sometimes duplicate
...
This code is a drop in replacement based on an abstract counter based on an abstract keyValue store.
The counter can be
- class based (in this case the counter is initialized on max(id) + 1
- key based (in this case the counter starts at 0)
Important: on both cases the counter is no more kept aligned with the primary key.
This lead to a MySQL8 compatible implementation.
2019-11-04 11:50:36 +01:00
Stephen Abello
3844a18b86
N°971 Portal: Allow n:n links for Browse Brick's levels
2019-10-30 16:41:58 +01:00
bruno DA SILVA
4834c326aa
2498 - restrict access to assets into env-*
...
- allow static html into extensions/ and datamodels/
- allow direct access to php into env-* for legacy code taht do not use exec.php
2019-10-30 15:46:33 +01:00
Pierre Goiffon
34b47f0239
N°2518 update licenses to reflect ACE editor moved from itop-config to iTop core
2019-10-30 10:11:33 +01:00
bruno DA SILVA
0d13d9eabe
2498 - restrict access to assets into env-*
...
- allow static content within datamodels/ and extensions/ (reason: the setup make use of images within this directory)
- simplified .htaccess and web.content generation during the compilation
- it now also allow fonts
2019-10-30 09:44:28 +01:00
Pierre Goiffon
dda91be6d1
N°2555 action_rules : an invalid rule won't prevent anymore others to execute
...
This blocking scenario was added in 5c483efd
2019-10-25 15:56:26 +02:00
Pierre Goiffon
fe03342b6f
🌐 Fix typo
...
SF#1812, many thanks Lars Scheibling !
2019-10-25 09:37:22 +02:00
Pierre Goiffon
d4a696cb6b
N°2555 Specific exception for invalid action_rules
2019-10-24 18:05:58 +02:00
Pierre Goiffon
5c483efd15
N°2555 action_rule performance
...
* do not execute scope_oql that have no conditions
* pick the first result only
2019-10-24 17:24:09 +02:00
Eric
c552e73d20
N°2315 - Login screen extensibility API refactor
2019-10-24 14:56:01 +02:00
Stephen Abello
1851163cee
N°1881 Portal: Show confirmation dialog when closing forms with unsaved data
2019-10-24 10:51:49 +02:00
Eric
8455abdfe9
N°2315 - Markup extensibility: interface refactor
2019-10-23 16:49:00 +02:00
Eric
3f59141407
N°1114 - config-itop.php access rights enforcement
2019-10-22 15:02:51 +02:00
Pierre Goiffon
b1dbddffb9
N°2518 Integrating ACE in iTop
2019-10-17 19:21:30 +02:00
Pierre Goiffon
221c10aa9b
itop-config : syntax highlighting for JS
2019-10-17 17:35:41 +02:00
bruno DA SILVA
15ecd7bccf
itop-portal-base: .env.local is no more versioned
2019-10-17 16:47:18 +02:00
bruno DA SILVA
74a3712116
n°2311 - prenvent cas logo to be fullscreen during the login page loading
2019-10-17 10:53:35 +02:00
Stephen Abello
0a2063ce69
N°2060: Fix data-localizer and archive mode initialization for Symfony portal
2019-10-17 10:12:40 +02:00
bruno DA SILVA
65512ca984
2498 - restrict access to module's assets
...
- into env-*
- into datamodels
- into extensions
2019-10-16 18:01:33 +02:00
Pierre Goiffon
f65f22f333
N°2538 check path validity little improvements
...
* ajax-backup : change code to be more readable
* does a realpath() call on basepath to avoid troubles when havin '/' on Windows
2019-10-16 11:37:50 +02:00
Pierre Goiffon
607d355c61
N°2538 enforce generic method to check path validity
...
Now uses realpath() and StartsWith
2019-10-16 11:13:19 +02:00
Pierre Goiffon
5e641f2273
N°2538 generic method to check path validity
2019-10-15 18:41:07 +02:00
Eric
d52254bbf0
🎨 Make some room in the menu
2019-10-15 12:10:16 +02:00
Stephen Abello
e26428a0eb
Fix visual glitch on portal's modal-backdrops
2019-10-11 16:08:19 +02:00
Stephen Abello
c1460cfdc7
N°2142 Portal: Fix list tabs and on charts click when a Manage brick has a chart as default display mode
2019-10-09 17:15:07 +02:00
Eric
db0a5bd071
N°2240 - Supportability - Maintenance mode
2019-09-27 18:00:09 +02:00
Eric
7acb53a22f
N°2311 - Refactor Login FSM for errors
2019-09-27 13:12:00 +02:00
Stephen Abello
a8d5630030
N°967 Portal: Browse brick actions are now correctly ordered even without a rank tag
2019-09-19 10:53:42 +02:00
Eric
19d9c69fb8
N°2311 - Login Page extensibility (CSS reworked)
2019-09-10 08:40:28 +02:00
Eric
cb772a9527
N°2311 - Login Page extensibility (CAS button)
2019-09-06 17:54:02 +02:00
Eric
b2ab07aa69
N°2311 - Login Page extensibility
2019-08-30 15:07:51 +02:00
Eric
8d7c64be66
N°2455 - Wrong Request Template query validation
...
Avoid blocking a form if a RequestTemplate reference a bad attribute (e.g. :this->id)
2019-08-23 17:30:54 +02:00
Eric
58402cdda8
N°2311 - User Provisioning API documentation
2019-08-22 14:38:07 +02:00
Eric
59fa3e10a3
N°2311 - User Provisioning API
2019-08-22 14:00:54 +02:00
Eric
0831a427cc
N°2311 - authent-cas compatibility with 2.6 configuration
2019-08-22 14:00:53 +02:00
Eric
97e58c2d79
N°2311 - combodo-cas renamed authent-cas
2019-08-21 12:21:24 +02:00
Eric
6693ec48a0
N°2311 - Add combodo-cas
2019-08-21 10:46:58 +02:00
Pierre Goiffon
51bbe1f79d
Handle nested transactions ( #90 )
...
* starting a new transaction will send nothing in the DB (only one global transaction : merge nested transactions)
* same for COMMIT or ROLLBACK if more than 1 transaction is opened
* transactions are kept inside \DBObject::DBInsertNoReload, but they can be disabled using config flag db_core_transactions_enabled=false (true by default, hidden by default)
2019-08-20 10:47:29 +02:00