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
e71bbd8abe
Store requester and comment into command history when importing users
2019-05-10 13:33:04 -06:00
nathangray
14a0fbcb75
Import/Export - add support for quotes in definition names
2018-12-05 13:25:34 -07:00
Ralf Becker
8031564327
* ImportExport: scheduled im/exports fail with PHP Fatal error
...
Cannot use object of type EGroupware\Api\Asyncservice as array in importexport/inc/class.importexport_schedule_ui.inc.php on line 627
2016-06-09 16:20:18 +02:00
Ralf Becker
a4fb7696d7
fix PHP Fatal, if phpgwapi is not installed
2016-05-26 11:40:23 +02:00
nathangray
2675da8e54
Some more cleanup - remove unused functions, formatting and some IDE warnings
2016-05-17 09:03:30 -06:00
Ralf Becker
631c22bdd2
fix PHP Fatal Class 'EGroupware\Vfs' not found in importexport/inc/class.importexport_schedule_ui.inc.php
...
thought there's old phpgwapi and eTemplate code in here, which either needs to be removed or fixed
2016-05-16 12:18:20 +02:00
Nathan Gray
7e7f045343
Move importexport to new API
2016-05-09 22:49:20 +00:00
Nathan Gray
0740ed531c
Some more egw_framework::validate_file calls
2016-04-11 19:44:28 +00:00
Nathan Gray
f11804c5f5
Fix importexport schedule:
...
- fixed list did not update after edit
- fixed delete button did not work
2015-04-13 20:03:30 +00:00
Nathan Gray
1ad8f3a90f
Do not clear warnings and errors just because plugin can't add more
2015-04-10 23:50:10 +00:00
Nathan Gray
e92028da65
Fix vfs_stream_wrapper not found error by switching to namespaced class name
2015-04-07 20:57:08 +00:00
Nathan Gray
0033464585
- Re-add extra fields for import
...
- Add special field to link to another entry by custom field value
2014-06-17 22:36:17 +00:00
Nathan Gray
7f98f428a0
Adapt importexport for etemplate2
2013-11-01 22:04:43 +00:00
Nathan Gray
b5d049f3d5
Get ical export working for scheduled export
2013-01-29 18:22:46 +00:00
Nathan Gray
7b668c306d
Fix selected scheduled definition not getting saved
2013-01-29 17:47:42 +00:00
Nathan Gray
a01b53a2b3
Fix cannot edit schedules
2013-01-23 16:21:06 +00:00
Nathan Gray
627fa6fc9c
Encode ID to avoid problems with special chars
2013-01-22 16:53:24 +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
31bae98d9f
- Export all records
...
- Properly handle export result
2012-04-18 17:48:08 +00:00
Nathan Gray
dff86e4842
Fix exporting to a directory
2012-04-17 15:40:34 +00:00
Nathan Gray
102c0e569c
Change error output from STDERR to error_log
2012-03-19 14:54:20 +00:00
Ralf Becker
b68cbecbe2
trying to work arround "PHP Fatal error: Cannot unset string offsets in /usr/share/egroupware/importexport/inc/class.importexport_schedule_ui.inc.php on line 444"
2012-03-13 10:22:15 +00:00
Nathan Gray
1109aea63a
Lock import/export job while running, to prevent multiple instances.
2012-02-14 20:29:33 +00:00
Nathan Gray
68798a2200
- Fix sorting by modification time to handle files changed at the same time
...
- Catch exceptions for logging
2012-02-14 18:36:15 +00:00
Nathan Gray
03756ddaf2
In scheduled list, show last / next run times in user time. Async still runs in server time though, so added a message about that to edit dialog.
2012-02-01 20:49:27 +00:00
Nathan Gray
9990fe45d6
Filter definitions by selected application / plugin
2011-12-27 16:47:57 +00:00
Nathan Gray
b8955a1ab0
Keep warnings when adding errors to notification
2011-12-19 22:22:29 +00:00
Nathan Gray
82dbae58ee
Add warnings to notification email
2011-12-15 17:01:01 +00:00
Nathan Gray
8c4e8dee2f
Display warnings encountered during import
2011-12-15 16:56:52 +00:00
Nathan Gray
cd96a14674
Add run time to scheduled import/export last run info
2011-12-13 20:00:40 +00:00
Nathan Gray
d629b6322e
HTTP not supported by is_readable(), so use headers to determine if file is readable
2011-12-13 17:42:32 +00:00
Nathan Gray
3c7a918a4f
Add 'errors' to notification subject
2011-12-12 17:24:27 +00:00
Nathan Gray
193267be20
- Show error details in email
...
- Fix 'Array ...deleted' result
- Avoid some warnings from stuff not being arrays
2011-12-12 17:23:24 +00:00
Nathan Gray
f3bbd83e0d
Fix typo
2011-12-09 19:11:14 +00:00
Nathan Gray
20bb80effb
- Silence some warnings
...
- Send notification to scheduling user about any errors during import/export - does not include full list of errors
2011-12-09 18:44:29 +00:00
Nathan Gray
68a970f5d6
Fix deleting scheduled import/exports
2011-12-09 16:25:17 +00:00
Nathan Gray
0b9b48b6da
- Change schedule list to display results & errors from each file
...
- Process files in a directory oldest->newest
- Change display of 'Last run', was last successful run, now last attempt
- Fix display of next run, updates even if errors
- If errors are encountered (not writable, definition not found) don't block other async jobs
2011-12-07 20:05:02 +00:00
Nathan Gray
5f815928f4
Improve handling / display of error messages
2011-12-07 17:18:08 +00:00
Nathan Gray
225317c0b3
Scheduled imports now can operate on a folder to import all files in folder. If successful, improted files can be deleted after import.
2011-12-06 00:44:07 +00:00
Nathan Gray
8820c41c3d
Add context menu
2011-06-02 16:50:41 +00:00
Ralf Becker
82bb3f8044
* ImportExport/PostgreSQL: fixed SQL error "wrong operator !" when defining a profil
2011-04-11 15:45:29 +00:00
Nathan Gray
af7ad5bec1
If there's only one option for plugin or definition, select it
2011-04-04 14:31:37 +00:00
Nathan Gray
58248a252d
Add default 'Select...' option each time, make sure definition is cleared when changing definition list
2011-03-21 19:05:33 +00:00
Nathan Gray
49bf54aace
More agressive filtering on schedule options - all subsequent options start filtered
2011-03-14 20:55:42 +00:00
Ralf Becker
ed60695cd5
* fixed not working scheduled import from vfs
2011-03-11 16:03:08 +00:00
Nathan Gray
1cedf20503
Wrap definition constructor in a try/catch to catch & ignore permission errors
2011-02-14 15:54:28 +00:00
Nathan Gray
5e9d01e176
Check if get_errors() exists before calling it to prevent fatal error
2011-01-11 18:06:28 +00:00
Nathan Gray
edf5759a50
Check protocol to prevent direct file system access. Use VFS to access files on the server instead.
2010-10-19 17:29:11 +00:00
Nathan Gray
3b46acda8f
Fixes to get selectboxes working for IE (Stylite #8186 )
2010-09-14 21:17:29 +00:00