odain
890a2568c8
N°8796 - Add PHP code style validation in iTop and extensions - format whole code base
2025-11-07 15:39:53 +01:00
Molkobain
ad36066126
📝 Copyright year bump
2024-05-06 18:35:31 +02:00
Benjamin Dalsass
d15a0a0070
N°6086 - CSV import: Treat first line as a header
2024-02-28 17:04:35 +01:00
Benjamin Dalsass
34f0053db7
N°7059 - Symfony 6.4 - Add missing namespaces to match PSR-4 convention ( #589 )
2023-12-21 10:18:11 +01:00
Benjamin Dalsass
be99a7c02d
N°7059 - Symfony 6.4 - Application skeleton - sources registration ( #588 )
...
We configure global sources directory in symfony configuration file except the directory Application/WebPage (potential impacts)
2023-12-13 10:31:36 +01:00
Eric Espie
c3469e43bc
N°6408 - Add logs, changed modification test of current object and prevent calling OnDBUpdate() when object is not modified
2023-06-23 17:02:31 +02:00
Molkobain
c767ebe989
📝 Copyright year bump
2023-03-17 18:28:47 +01:00
acognet
7ec12f1e12
N°4517 - PHP 8.1: Replace htmlentities(***, ENT_QUOTES, 'UTF-8') with utils::EscapeHtml
2022-07-01 09:22:25 +02:00
acognet
6a4217e87b
N°3950 - Deprecate old unreferenced methods that are @deprecated - remove ajaxwebpage and iTopWebPage
2022-05-10 16:39:31 +02:00
acognet
ba71c1bcd5
N°4747 - Broken XLSX Templates created
2022-02-15 09:59:47 +01:00
acognet
0754dda1d9
N°3905 - Polishing: CSV Import
2021-09-23 09:19:54 +02:00
acognet
11f6c88ac7
N°3905 - Polishing: CSV Import
2021-06-17 11:16:31 +02:00
acognet
3132d665e0
forgot an addSubBlock
2021-06-11 11:42:11 +02:00
acognet
66f7406148
N°3582 - Migrate backoffice pages to new UIBlock system : Import CSV fix config popup
2021-03-25 12:08:16 +01:00
acognet
094a86cbbf
N°3582 - Migrate backoffice pages to new UIBlock system : Improved display
2021-03-24 07:57:24 +01:00
acognet
80cc850112
N°3582 - Migrate backoffice pages to new UIBlock system : Import CSV
2021-03-23 11:23:55 +01:00
Molkobain
8dd96ea636
Copyright year bump
2021-03-15 09:29:45 +01:00
Pierre Goiffon
96e7f57a34
Merge remote-tracking branch 'origin/support/2.7' into develop
...
# Conflicts:
# application/ajaxwebpage.class.inc.php
# application/csvpage.class.inc.php
# application/itopwebpage.class.inc.php
# application/webpage.class.inc.php
# application/xmlpage.class.inc.php
# core/config.class.inc.php
# css/css-variables.scss
# datamodels/2.x/version.xml
# pages/ajax.document.php
# pages/ajax.render.php
# pages/ajax.searchform.php
# sources/application/TwigBase/Controller/Controller.php
2020-12-10 18:08:11 +01:00
Pierre Goiffon
ecebe4ecd5
N°3416 XFrame and cache headers optimizations
...
* Remove XFrame header set in \WebPage::no_cache : not this method responsability, was confusing :/
* Remove no_cache() calls when already set in page constructor (ajax_page mainly)
* Also calls everywhere the \WebPage::no_cache method instead of setting headers manually
2020-12-02 17:19:05 +01:00
Eric
63f8ec594c
N°2847 - Refactor Web Pages classes - Add UIBlockManager to the WebPage
2020-09-09 18:10:06 +02:00
Eric
6f04525cdf
🎨 cleanup code
2020-02-13 09:49:58 +01:00
Stephen Abello
ed67df734f
N°2755 - Security hardening
2020-02-06 14:50:27 +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
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
Guillaume Lajarige
4171c5c35f
N°583 CSV Import now supports friendlynames as reconciliation keys. More over, read-only attributes (friendlyname, obsolescence flag, ...) are forced to reconciliation scheme.
...
SVN:trunk[4861]
2017-08-17 09:51:38 +00:00
Denis Flaven
9b774d3f72
- Make sure that the CSV Parser has enough time to run on big amount of data.
...
- Speedup the display of the CSV Import interactive wizard by parsing only the needed lines of the CSV data (in the first steps of the wizard).
SVN:trunk[4223]
2016-06-17 08:41:20 +00:00
Romain Quetiez
09cbf63c5a
CSV import GUI: now matching more representations (object id and external fields that are external keys)
...
SVN:trunk[3714]
2015-09-04 08:40:32 +00:00
Denis Flaven
2c59fb894f
Integration of the Excel (XLSX) export feature. (Limitation: export.php takes into account neither the "fields" parameter nor the list of fields defined in the QueryPhrasebook when exporting in XLSX format)
...
SVN:trunk[3398]
2014-10-31 17:59:14 +00:00
Denis Flaven
e54d6ecc12
#777 mandatory fields that are external keys are now displayed with a star before the arrow: ExtkeyName*->ReconciliationField. In import the old syntax is supported as well.
...
SVN:trunk[2908]
2013-10-14 15:36:49 +00: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
e33523ddc8
CSV import/export reworked:
...
Trac #174 and #283 : import.php localized by default, option no_localize to disable
Trac #554 : export.php localized by default, option no_localize to disable
Trac #555 : friendlyname abusively used as a reconciliation key
+ Default charset is ISO-8859-1 to be compatible with Excel (See config parameter csv_file_default_charset)
+ CSV export in UTF-8 with BOM to help Excel in getting it right (not all versions)
+ Fixed reporting issues (wrong class, exceptions, changed external key)
+ Fixed settings lost when navigating in the import wizard
+ Fixed issues when some html entities were found in the data (reporting + export)
+ Added a link to download the CSV export.php
SVN:trunk[2253]
2012-10-12 15:48:54 +00:00
Denis Flaven
a8f53294a9
Protect against empty list of reconciliation keys
...
SVN:trunk[1819]
2012-01-30 17:41:01 +00:00
Denis Flaven
6859326646
Fixed Trac#446: XSS vulnerabilities... to be tested !
...
Also fixed the display/download links on documents that were both doing exactly the same thing !
SVN:trunk[1443]
2011-08-11 10:17:03 +00:00
Denis Flaven
4293230416
Don't display an error (assertion failed) if the user selects nothing (i.e -- select one --) in the "CSV template" tab.
...
SVN:trunk[1394]
2011-07-31 09:12:41 +00:00
Denis Flaven
ecca1aa070
Use absolute URLs as much as possible to be independent from the page being executed...
...
SVN:trunk[1365]
2011-07-26 13:22:45 +00:00
Romain Quetiez
7989cf622f
CSV import: fixed a few issues (restricted to N-N links) + added arguments to the export page, to allow for exporting N-N links
...
SVN:trunk[1130]
2011-03-15 12:19:04 +00:00
Romain Quetiez
f3cc490295
#328 Added the capability to import/export link sets in CSV format
...
SVN:trunk[1129]
2011-03-14 14:11:08 +00:00
Romain Quetiez
35c50d6689
Ajax pages: exceptions are traced into error.log
...
SVN:trunk[970]
2010-11-24 14:00:24 +00:00
Romain Quetiez
d8bb6a45b2
REVIEWED THE FILE INCLUSION POLICY
...
- includes are relative to the application root folder, aka APPROOT
- changed the config file, while preserving the compatibility with older installs
SVN:trunk[962]
2010-11-22 17:53:52 +00:00
Denis Flaven
05a2443afe
The previous fix for Trac #276 broke the auto mapping of external keys... now fixed.
...
SVN:trunk[929]
2010-10-25 17:05:12 +00:00
Denis Flaven
f145b872de
- Implemented some hints to help users find out what are the mandatory fields for a CSV import (Trac #276 ). Though not 100% bullet-proof.
...
- Continue to implement support of hierarchical ZLists in modification forms.
SVN:trunk[904]
2010-10-19 15:03:24 +00:00
Denis Flaven
b66e489ec8
- Fixed Trac #298 : use the proper content-type for CSV files to prevent the let the browser pick the most appropriate application to open such files.
...
SVN:trunk[903]
2010-10-19 14:15:25 +00:00
Denis Flaven
eb81fcf9c7
- Fixed Trac #254 : external fields specified as reconciliation keys were not automatically checked in the interactive mapping process.
...
SVN:trunk[835]
2010-09-13 10:09:34 +00:00
Denis Flaven
3cc9d99aca
- Fixed Trac #254 : use external fields as reconciliation keys.
...
SVN:trunk[813]
2010-09-10 13:28:04 +00:00
Denis Flaven
82bcf663c4
Fixed Trac #252 : pb when doing a CSV load with no header line.
...
SVN:trunk[787]
2010-09-07 08:10:49 +00:00
Denis Flaven
b1f877f845
Fixed bug #231 : distinguish between external key (id) and external key (name) for loading fields that are external keys pointing to externla keys! Example: Connected To->Device is to be mapped to the Connected Interface's device NAME whereas Connected To->Device->id is to be mapped to the connected interface's device id
...
SVN:trunk[747]
2010-09-02 15:57:08 +00:00
Denis Flaven
b0d89dece3
- Sepcial corner case when loading objects with external keys and these externla keys themsleves have reconciliation keys that are also externla keys.
...
Example: On a person the field location_id
Can be specified by Location->Name and Location->Owner Organization (The 2 reconciliation keys for the class Location). The latter is also an external key, and therefore only an Id can be supplied for this field. Note that Location->Owner Organization->Name is not yet supported.
SVN:trunk[738]
2010-09-01 17:27:18 +00:00
Denis Flaven
ce02a39157
- Fixed Trac #215 : support several characters encoding for the interactive CSV import.
...
SVN:trunk[726]
2010-08-31 08:15:35 +00:00
Denis Flaven
7aacef8d7d
- Get rid of the class UserContext, since now everything is implemented directly in MetaModel
...
- Make the Accordion menu collapsible
SVN:trunk[683]
2010-08-23 12:27:21 +00:00