- 09 Jun, 2021 1 commit
-
-
Cédric Anne authored
-
- 17 May, 2021 2 commits
-
-
Cédric Anne authored
-
Cédric Anne authored
-
- 07 May, 2021 1 commit
-
-
Cédric Anne authored
* Switch to symfony/cache; closes #8561 1. Use filesystem by default. 2. Drop support of APCu/Wincache (and so remove footprint file checks). 3. Remove fallback to memory cache when configured cache adapter fails. 4. Handle configuration outside database. 5. Add a configuration command. 6. Remove cache contents from debug tab (weighs too much and not really usefull). 7. Test, test, test ! * Drop couchbase support * Drop file:// scheme definition * Add memcached to test suite * Fix namespace normalization * Fix tests * Show memcached version
-
- 29 Mar, 2021 1 commit
-
-
Cédric Anne authored
-
- 18 Mar, 2021 1 commit
-
-
Cédric Anne authored
-
- 16 Mar, 2021 1 commit
-
-
Cédric Anne authored
-
- 02 Mar, 2021 1 commit
-
-
cconard96 authored
-
- 12 Feb, 2021 2 commits
-
-
Johan Cwiklinski authored
- Base available meta types on *_types configurations; - Refactor Search::addMetaLeftJoin() to make it generic as possible; - Fix some bugs.
-
Cédric Anne authored
-
- 03 Feb, 2021 1 commit
-
-
Cédric Anne authored
- Move code to a dedicated and testable class; - Check for indexes differences; - Check for table options differences; - Adapt checks to DB config, DB server and DB version; - Add parameters to adapt checks depending on already ran migrations; - Exit with an error code when differences are found; - Permit do do a non strict check (do not take care or fields / index orders in table); - Call the command after each migration on test suite; - Add tests on most relevant cases.
-
- 02 Feb, 2021 1 commit
-
-
Curtis Conard authored
* Move clone methods to Clonable trait * Fix lint + try rerun tests * Revert return type. Use Toolbox::deprecated * Fixes Deprecate DBChild and DBRelations should be clonable by nature Fix parent calls * Factorize trait imports * Changes/fixes: - Simplify trait usage - NetworkPort is clonable - CommonDBConnexity is clonable - Clean input properties in dedicated method * Networkport inherits clonable from CommonDBConnexity Co-authored-by:
Johan Cwiklinski <jcwiklinski@teclib.com> Co-authored-by:
Cédric Anne <cedric.anne@gmail.com>
-
- 27 Jan, 2021 1 commit
-
-
Johan Cwiklinski authored
* Ensure In-Reply-To mail header is unique accross instances; closes #3836 * fix * changelog Co-authored-by:
Cédric Anne <cedric.anne@gmail.com>
-
- 25 Jan, 2021 1 commit
-
-
Cédric Anne authored
-
- 20 Jan, 2021 1 commit
-
-
Johan Cwiklinski authored
Schema doc: https://github.com/glpi-project/inventory_format Can be overrided from a plugin to inventory its own types. Based on inventory features provided from fusioninventoryplugin, and compatible with New uUpgraded equipement rules to handle several itemtypes, add reset capacity Handle Phones inventories Add entites rules Locks management for fields and its tests: - Fields that have been updated from GLPI must not be modified from inventory, and inventory does not lock anything. - An icon is displayed in main item form only, even if all item types can be locked. Displaying on all forms would require to change each form individually (very huge work to copy a few lines of code). - All item types can be locked Overridable USB and PCI vendors list Network inventory Support for network equipments, stacked, wireless, VLANS, LLDP/CDP and MAC connections, hubs Add some missing fields in network tables Use withHistory and fix usages Check request mime type lowercase Rework ports display Handle unmanaged equipments Display hub connected equipments Handle managements port Connections logs Add metrics on port bytes and errors Exclude metrics data from glpi log system Printers Inventory printers from SNMP information Handle cartridge information Handle page counters Refused equipment log with rule and inventory replay Display error when already in transaction Link to import rules collections from config Order rules by ranking Enhance blacklists and add new defaults
-
- 19 Jan, 2021 1 commit
-
-
Cédric Anne authored
- Use utf8mb4 as default charset for fresh installation - utf8mb4 migration command - warn for collation mix on migration - Force ROW_FORMAT = Dynamic on fresh install - Add warning on central page if some tables are not migrated
-
- 07 Jan, 2021 1 commit
-
-
Cédric Anne authored
-
- 18 Dec, 2020 2 commits
-
-
Curtis Conard authored
* Add UUID to OS-capable devices Update changelog * Add missing default schema changes * Add missing keys * Fix monitor tests * Move migration to its own file Co-authored-by:
Johan Cwiklinski <jcwiklinski@teclib.com>
-
Cédric Anne authored
-
- 07 Dec, 2020 1 commit
-
-
Cédric Anne authored
-
- 07 Oct, 2020 1 commit
-
-
Johan Cwiklinski authored
-
- 06 Oct, 2020 2 commits
-
-
Cédric Anne authored
- Prevent removal of any plugin file from unauthenticated user - Prevent access to files outside plugins directories - Prevent access to files from inactive plugins - Limit access to images and fix content-type - Add changelog entry
-
Cédric Anne authored
* Remove ability to use SQL expressions as string in criterion values * Fix iterator syntax Co-authored-by:
Johan Cwiklinski <jcwiklinski@teclib.com>
-
- 03 Sep, 2020 1 commit
-
-
Alexandre Delaunay authored
* rework reservations * fix height * clean unused params * missing eof * popHeader * clean * remove dead code * make passing params to tabs more generic * prevent override of reservation libs * translation * encapsulate update event result into a json * add changelog entries * separate last view storage from planning
-
- 11 Aug, 2020 1 commit
-
-
Cédric Anne authored
-
- 04 Aug, 2020 1 commit
-
-
Cédric Anne authored
-
- 09 Jul, 2020 1 commit
-
-
Cédric Anne authored
-
- 07 Jul, 2020 1 commit
-
-
Cédric Anne authored
-
- 03 Jun, 2020 2 commits
-
-
cconard96 authored
Add ability to mark forms as trackable and then warn users if they try to leave a page that has unsaved changes - Forms can be marked as trackable with "data-track-changes='true'" - Individual form inputs can be ignored with "data-track-changes='false'" Track followups, tasks, and solutions. Fix EOF. Fix dropdown form options. Change beforeunload for modern browsers.
-
Curtis Conard authored
* Enhance status endpoint Add ability to change the status format using the Accept header. - Supports application/json and text/plain (default) formats Move logic of status checking to a class. Added ability to filter out potentially sensitive information from the status result. - The public status endpoint only returns public information. - Private information is only returned through the CLI command but could be done from an API endpoint later. - Sensitive information includes the names of plugins, versions, etc as they could make it easier for someone to breach a GLPI instance. Add tests for status checker. Add CLI command glpi:system:status to get the system status. - Accepts the --format parameter with the values json or plain (default) to change the output format. - Accepts --private parameter with a true or false (default) value to specify if private data should be returned. * fixes Co-authored-by:
Cédric Anne <cedric.anne@gmail.com>
-
- 02 Jun, 2020 1 commit
-
-
Curtis Conard authored
* Add network ports on Monitors * Update changelog
-
- 06 May, 2020 1 commit
-
-
Johan Cwiklinski authored
* Deprecate GLPIKEY usage CVE-2020-5248 Deprecate GLPIKEY usage, and replace it with key file per instance. Add a command to generate new key, and update database. Add plugins hooks to rgister fields or configuration entries to be handled when updating db. * Rely on sodium compat for encryption/decryption New name for key file, handle migration Add not required sodium extension Deprecate, fill changelog, drop old keyfile Key must be generated from dedicated method
-
- 24 Mar, 2020 1 commit
-
-
Cédric Anne authored
-
- 27 Feb, 2020 1 commit
-
-
flonou authored
* Add cloning capacities First implementation of the clone functionality Updating tests to take into account the new action removing missed debug log Fixing code quality issues Fixing test case, we now have one more action possible Simplifying the clone method Adding test for the clone method on various types of items error in test code same ; missing on another line fixing code issues Adding a prepareInputForClone method that's useful for some types (user for example) Fixing the tests typo fixing some code quality issues and tests date to string comparison is not working getting a profile item was not correctly done (was trying to get a user instead) moving prepareInputForClone before the addslashes_deep method Trying to get the date fields comparisons right Still working on date comparison maybe dates can't be compared ? turns out date is not outputing a date but a string ! Fixing the cloning issue Removing clone capability on profiles because rights are automatically unset after add and that might be a security issue updating test case adding more test cases and cloning capabilities working on tests trying to get more information on why a test fails updating cloning Fixing code identation empty line fixing Homogenization of cloning with the new method (removing calls to cloneItem methods for templates instanciation) Handling legacy cloning requests (calling add with id or _oldID set) Fixing code quality Adding @since and @deprecated markers in the phpdoc Updating the CHANGELOG.md file Fix cs fix defition on Dashboard::clone rename method Fixing dashboard test
-
- 11 Feb, 2020 2 commits
-
-
Cédric Anne authored
This reverts commit c19c367a.
-
Cédric Anne authored
-
- 10 Feb, 2020 1 commit
-
-
Adrien Clairembault authored
* Add forcename option to API * Add deprecated in changelog * Remove const * Do not add add hateoas for names * Change forcename to add_keys_names * Update doc and changelog
-
- 04 Feb, 2020 1 commit
-
-
Cédric Anne authored
- check_config is now optionnal - a TOBECONFIGURED plugin will now be loaded (for autoload purpose), in order to be configurable - hooks will now be called only for activated plugins, instead of loaded plugins
-
- 09 Jan, 2020 1 commit
-
-
Johan Cwiklinski authored
* Use Laminas instead of Zend; closes #6742 * Use Laminas namespace * Update unit test to remove zend class existence check Co-authored-by:
Cédric Anne <cedric.anne@gmail.com>
-
- 19 Dec, 2019 1 commit
-
-
Cédric Anne authored
- use jquery-migrate to handle compatibility with old plugins - fix breaking changes that are not handled by jquery-migrate
-