Commit Graph

55 Commits

Author SHA1 Message Date
ralf
55054024b6 fix PHP Deprecated errors visible in egroupware-docker-install.log 2023-01-26 10:42:33 +01:00
Ralf Becker
607526774f fix PHP 8.0 Error: Undefined constant "self" 2021-11-15 15:55:39 +01:00
nathangray
98219a2517 Put type in front of variable name 2021-03-31 13:14:18 -06:00
nathangray
a21c49d99c PHP 8 code quality improvements suggested by PHPStorm 2021-03-31 11:25:12 -06:00
Ralf Becker
ab9c089f70 fix PHP 8 Fatal error Array and string offset access syntax with curly braces is no longer supported 2021-03-21 21:13:07 +01:00
nathangray
bc253e0bd7 ImportExport: Fix all custom field types were showing up as filterable. Now limited to the ones we can handle. 2020-07-10 11:25:49 -06:00
Ralf Becker
98376b5908 * PHP 7.2: fix several PHP Fatal errors and warnings stalling installation and usage 2018-04-09 16:02:00 +02:00
nathangray
1fb15206f8 * Import/Export - Better matching on accounts to handle prefixes & suffixes 2018-02-06 13:08:05 -07:00
nathangray
5246d59f21 Add ability to handle groups named in the format 'Group <name>' (no comma, Group first) when importing. 2017-02-14 09:07:25 -07:00
Nathan Gray
7e7f045343 Move importexport to new API 2016-05-09 22:49:20 +00:00
Nathan Gray
0eeb8b56c0 - Export plugins now specify the export record class
- Projectmanager now has filters
2016-05-04 19:34:30 +00:00
Ralf Becker
901157242e blacklisting whole etemplate app and importexport_widget_filter class (plus api, phpgwapi and setup, as they make no sense at all), as they mess up autoloading ("PHP Fatal error: Class EGroupware\Api\Etemplate\Widget\Transformer not found") 2016-03-22 10:10:20 +00:00
Nathan Gray
ae79287e18 Get relative dates working again in export 2016-02-17 23:45:30 +00:00
Nathan Gray
438c308ad0 Fix bugs in import
- typo prevented conditions from being evaluated
- Groups in the form <name> Group were not parsed
2014-08-13 17:32:04 +00:00
Nathan Gray
3405d58c67 Allow including record indexes in regex pattern 2014-06-18 17:25:48 +00:00
Nathan Gray
7f98f428a0 Adapt importexport for etemplate2 2013-11-01 22:04:43 +00:00
Nathan Gray
73cba1f328 Avoid duplicate parsing of usernames with [login] 2013-06-03 19:24:05 +00:00
Nathan Gray
d226d759cd Add check for [username] when trying to convert a user to account ID 2013-03-14 19:34:12 +00:00
Nathan Gray
31d717643c Fix selection choice default 2013-01-23 17:44:03 +00:00
Nathan Gray
34b64e7a7b Fix incorrect warning 'Group, Group is not a known user or group' 2013-01-08 16:14:37 +00:00
Nathan Gray
761848c76f Only the last 3 months (exclusive of current) for 'Last 3 months' 2013-01-03 16:58:38 +00:00
Nathan Gray
0a91bc5aa9 Add support for filtering records to be exported.
Filterable fields are attempted to be autodetected by using the exportable fields.
Records can be filtered by fields with type select,select-cat,select-account,date,date-time (according to egw_record class) 
only at this time.  Filters are saved in the definition and used with scheduled exports.  They are also available to the
user for modification in the export dialog.
2012-12-31 20:36:28 +00:00
Nathan Gray
34f8f7db08 Prevent new categories from being created during dry-run 2012-10-18 16:38:30 +00:00
Nathan Gray
86f334bbf0 - Don't try a CSV preview on non-csv files
- Skip plugin definition wizards
2012-09-18 19:04:31 +00:00
Nathan Gray
3656ce8515 - Leave any account names that can't be parsed to IDs for use in errors
- Return warning about any names that can't be parsed
2012-01-25 18:13:57 +00:00
Ralf Becker
2d7584d459 only check for class.$classname.inc.php files, when scanning for plugins, as backupfiles postfixing the filename with an other extension stall EGroupware completly (Fatal Error: Can not redeclar class) 2011-11-21 09:50:02 +00:00
Nathan Gray
93b9d99cd5 Don't treat numeric category names as IDs 2011-10-25 17:09:31 +00:00
Nathan Gray
89c2097894 Add new import translation function list(sep,field,index) to explode a field and pick one part 2011-08-05 22:04:05 +00:00
Nathan Gray
341bf0e8c4 Enable import CSV plugin, but remove default definition. Admin can create it if needed 2011-07-04 14:34:44 +00:00
Nathan Gray
eed3385496 Allow admin to choose when to update default definitions: never, manual or auto 2011-05-24 16:13:51 +00:00
Nathan Gray
61862bf50d Trim any extra space off name / account login, it breaks the searching 2011-04-18 15:09:03 +00:00
Nathan Gray
459e6be4d2 Blacklist calendar CSV import because it doesn't work the same as the others, and you should use iCal. If someone needs it, they can put it back in. 2011-04-11 15:21:10 +00:00
Nathan Gray
66f120ff2e Add optional parent parameter for new categories 2011-03-16 23:29:42 +00:00
Nathan Gray
2e752e17b6 Enhance account name -> ID to be able to handle user names in Lastname, Firstname format 2011-03-16 16:50:28 +00:00
Nathan Gray
d02eec55fb Trim extra whitespace from category name 2011-03-16 15:53:11 +00:00
Nathan Gray
9f32100656 Make account name->id translator able to handle full usernames and groups listed as Group, name 2011-03-15 00:01:23 +00:00
Nathan Gray
c94a591fee Make account name->id translator able to handle any IDs that are passed 2011-03-14 23:42:24 +00:00
Nathan Gray
bd03ec245f Remove some deprecated ereg functions 2011-03-09 18:18:26 +00:00
Nathan Gray
a47732d530 Make category name->id translator able to handle any IDs that are passed 2011-03-04 18:53:02 +00:00
Ralf Becker
5344d0a0ae * ImportExport: fixed translation default value not working (eg. "1|>one||2|>two||other") 2011-03-04 17:42:53 +00:00
Nathan Gray
ededa8f092 Use _bo is_permitted() function for consistency, fixes occasional exceptions due to group permissions 2011-02-11 18:03:44 +00:00
Nathan Gray
94c616bf12 Catch exception thrown when trying to instanciate a definition the user has no rights for, and discard it. 2011-02-10 20:45:32 +00:00
Nathan Gray
2ca0c13b34 Cast to array to prevent warnings 2011-02-08 16:01:55 +00:00
Nathan Gray
37417195eb Add auto-import of definitions in appname/setup/*.xml 2011-02-03 18:09:39 +00:00
Nathan Gray
a0d7bde2fb By default, don't show apps user doesn't have access to any definitions for 2011-02-03 16:49:49 +00:00
Nathan Gray
bd28fed482 - Hide expert options until they get worked out
- Add caching function has_definitions() to see if there are any definitions for the user
- Fix permissions check
2011-01-28 19:44:24 +00:00
Nathan Gray
6c0d3b2c81 Fix accidentally commited debug code 2010-10-12 22:46:43 +00:00
Nathan Gray
7f540ad450 - Add ability for plugin to specify mimetype
- Fix basic export csv wizard header option (wasn't loaded properly)
2010-10-12 22:45:55 +00:00
Nathan Gray
eb5fac04e9 Implement conversion class so the app's plugin can provide extra conversion functions 2010-10-06 22:33:52 +00:00
Ralf Becker
80a1fb5a53 "fixed not working plugin cache (on tree level): callback has to be public, as it's get called static by an other class (egw_cache)" 2010-04-03 10:31:57 +00:00