Commit Graph

759 Commits

Author SHA1 Message Date
Ralf Becker
c17d98ff8c allow to specify a subdirectory in attach_file as part of $file[name] parameter 2016-10-04 10:50:51 +02:00
Hadi Nategh
3e5d674559 Implement fav_filter icon base on template 2016-09-29 12:59:36 +02:00
Hadi Nategh
0c919bc897 Remove text-shadow from et2_buttons 2016-09-29 11:06:46 +02:00
Hadi Nategh
396c4b197c Add missing attach icon in jdots template 2016-09-28 16:08:22 +02:00
Ralf Becker
0d432dcaab fix wrong namespaced Exception: \DateTime throws \Exception 2016-09-28 11:18:30 +02:00
Ralf Becker
601ce45c4d allow to specify multiple cat_id's 2016-09-26 14:37:36 +02:00
Ralf Becker
c10654e1da allow to import without acl-check and setting modifier 2016-09-26 11:40:47 +02:00
Hadi Nategh
4ad4e1a5f3 Fix inline images of compose do not get stored as links into integrated applications like infolog, tracker or calendar 2016-09-22 09:19:22 +02:00
Hadi Nategh
ef0405b021 * Mobile template: Close sidemenu after clicking on items in sidebar 2016-09-21 17:43:28 +02:00
Hadi Nategh
4fca7273af Mobile template:
- Show fav icon when it's available
- Fix delete_action does not get removed after the row is deleted or deselected
- Fix some alignments for mail list header
2016-09-19 14:08:06 +02:00
Hadi Nategh
01c0ea4c6b * All apps: Add a counter indicator for selected entries in a list in mobile template 2016-09-19 14:06:59 +02:00
Hadi Nategh
11cce74a62 Implement client-side validation check for date_duration in order to catch check the validity right after entry before submit. 2016-09-16 17:10:26 +02:00
Hadi Nategh
fe5c0a9493 Fix Ctrl+A in context menu does not get translated 2016-09-16 17:10:06 +02:00
Hadi Nategh
8472cc4186 Implement step attribute for date_duration widget. Seems FF needs step to be set to be able to distinguish valid or invalid decimal input format (eg. 1.5 or 1,5) 2016-09-16 17:09:37 +02:00
Hadi Nategh
bc108f4573 Another try to fix base_url for print_dialog template. Seems it's necessary to keep the template_base_url untocued, because template_base_url gets calculated everytime when an et2 instance loads a template. 2016-09-15 12:16:30 +02:00
Hadi Nategh
57edc511ce Let egw.link takes care of the base url. Fix sometimes nm_print_dialog template runs into CSP error 2016-09-14 16:59:06 +02:00
nathangray
1ece2bb4f0 Try to fix redirects from AJAX calls to static methods 2016-09-14 08:33:42 -06:00
Ralf Becker
9b7f308342 * Calendar/CalDAV: update or removal of (managed) attachments via CalDAV failed 2016-09-13 15:57:34 +02:00
Ralf Becker
e784475ec0 Vfs::rename() is supposted to be static, quitens warning that it is used static 2016-09-13 13:54:05 +02:00
Hadi Nategh
f6e4cafc17 Fix printing does not get background and images into account 2016-09-02 19:41:31 +02:00
Ralf Becker
15927535a1 * All apps: async notifications were not using SMTP only account, but personal one with unavailable session password 2016-09-02 18:13:31 +02:00
Ralf Becker
05e521e644 enhance filesystem check to also check fs_id of required nodes /, /home, /apps 2016-08-31 19:04:46 +02:00
Hadi Nategh
cecd303208 * Mail: Fix pdf attachments do not get downloaded in mobile template 2016-08-31 12:11:25 +02:00
nathangray
fab26a30a1 Allow children for paste actions automatically pulled from drop actions 2016-08-30 08:08:50 -06:00
nathangray
b3a71be4a2 Add actions (Add) for blank parts of planner view 2016-08-30 08:04:48 -06:00
nathangray
82e4696e21 Add ISO 8601 (Y-m-dTH:i:s) format to list of checked date formats when importing to catch double parsed dates 2016-08-30 08:03:15 -06:00
Ralf Becker
2cb8029f4f * Filemanager: fix missing symlink overlay on mime-icon 2016-08-29 19:43:40 +02:00
Ralf Becker
dc4e2d73dc possible fix for deactivated / or /apps 2016-08-29 17:15:47 +02:00
Ralf Becker
59c098b2d6 fix for PHP Warning: Illegal string offset 'to_id' in api/src/Etemplate/Widget/Link.php on line 327 2016-08-29 13:50:53 +02:00
Ralf Becker
6599d0ae64 Sqlfs::mkdir is no longer static, fixing some left over static calls 2016-08-29 13:44:35 +02:00
Ralf Becker
d0ffe48144 Sqlfs::mkdir is no longer static, fixing some left over static calls 2016-08-29 12:57:27 +02:00
Ralf Becker
892fc79421 * Calendar: use proxy config from setup >> configuration to download holiday calendars 2016-08-26 14:01:14 +02:00
Ralf Becker
f18c4811fe * All apps: default preferences wont save because merge-print template directory does not exist
creating /templates/$app now via update-script, if it does not already exist, it was already created for new installation and for EPL
2016-08-25 18:16:57 +02:00
Ralf Becker
c3f1e887c5 no need to call accounts class, if we have no id 2016-08-24 19:44:48 +02:00
Ralf Becker
81dd3cc41f remove deprecated use of read without id (1. parameter) to accounts class in phpgwapi 2016-08-24 16:28:06 +02:00
Hadi Nategh
a317c6b1c0 Fix "From" field in mail display always get abbreviated 2016-08-24 16:12:35 +02:00
Ralf Becker
b121039ef1 fix PHP Fatal Call to a member function update() on null 2016-08-24 13:07:00 +02:00
Ralf Becker
d055de2e16 * Mail: iCal attachments are shown as such, only meeting requests trigger calendar interface with accept/reject buttons 2016-08-23 17:35:43 +02:00
nathangray
c7996ae42e Preserve link order set by application 2016-08-23 08:16:56 -06:00
Ralf Becker
28c4159788 * Admin/Mail/ProjectManager: add missing tree images for Stylite template 2016-08-22 13:02:35 +02:00
Ralf Becker
ce9ba4e2bc fix enhanced (multi-)select boxes in old eTemplate where broken and displayed only as regular select-boxes 2016-08-19 16:48:56 +02:00
Ralf Becker
281fed9669 fix CSP error in nextmatch print, if EGroupware is installed direct into docroot
et2.template_base_url == '/' generates url //api/templates/... which is a protocol independent representation of domain api and not identical to /api/templates
2016-08-19 14:56:02 +02:00
nathangray
238e67ed92 Add tooltip to datepicker Today button 2016-08-18 11:10:26 -06:00
Ralf Becker
ef1d8c57b7 log menuaction of eT2 requests, instead of eT2 itself, to do so move update of access-log to destructor of Session class 2016-08-18 16:33:45 +02:00
Ralf Becker
e7ff94a153 * Filemanager/WebDAV: generally deny user to delete directories /, /home, /apps, /templates (last 2 incl. subdirectories) 2016-08-18 10:05:37 +02:00
Ralf Becker
366a940030 * All apps: symlink files to not yet saved entries were not working 2016-08-17 16:09:50 +02:00
Ralf Becker
26feef16c0 * Addresssbook: fixed category tree looses unavailable categories (eg. private categories of other users) 2016-08-15 18:23:49 +02:00
Ralf Becker
b444969a86 calling (static) EGroupware\Api\Vfs::chown instead of using old egw_vfs not available in minimal install in account::deleted hook when moving home directory to /home/$new_user/old-home-$old_user 2016-08-15 15:44:31 +02:00
Ralf Becker
dd7466dcb3 fix PHP Fatal from old code using EGW_API_INC, that should point to old api and usage is decrecated in favor of autoloading anyway 2016-08-12 11:26:26 +02:00
Ralf Becker
a49627c850 * Filemanager: fix not working changing owner or group of a file/directory (as root!) 2016-08-12 09:30:45 +02:00
Ralf Becker
d9297ca193 Handle recursive directory creation in vfs layer, as not all underlaying
wrappers, eg. smb(client), support it themselfs
2016-08-12 08:51:03 +02:00
Ralf Becker
39a28c3faa * Filemanager: fix PHP Fatal error when changing ownership or permissions 2016-08-11 22:41:54 +02:00
Ralf Becker
3ed36b48e3 pending translations from our translation server, thanks to Illias and others 2016-08-10 09:10:45 +02:00
Ralf Becker
6c3a6dadb4 * Mail: fix lost mail account password on user password change 2016-08-09 11:48:56 +02:00
Ralf Becker
30bcf7edef use Etemplate\Widget::registerWidget, not some third class extended from Etemplate\Widget, as that might screw up autoloading if it happes to create a circle 2016-08-09 10:12:19 +02:00
Ralf Becker
2a1c5f2443 * PostgreSQL/Setup: fix SQL error in Backup or update: Invalid SQL: SELECT * FROM egw_pm_members
ADOdb drive for PostgreSQL requires 2. parameter for RowLock, while MySQL(i) defaults to all rows
2016-08-09 09:47:50 +02:00
Ralf Becker
cba0cd2071 try fixing error in installtion in Travis using Postgres during admin account creation 2016-08-07 11:19:05 +02:00
Ralf Becker
81554c511e try creating egroupware database for postgres with psql, as creating it through SQL seem not to work in Travis 2016-08-07 11:19:05 +02:00
Ralf Becker
a2a674fa3a debugging db creation in Travis for postgres 2016-08-07 11:19:05 +02:00
leithoff
2bf5a61361 fix charset/transfer encoding issue when sending plain ascii mails but adding utf-8 signature 2016-08-05 15:13:31 +02:00
Ralf Becker
bb0035d687 * Admin: fix email address for groups could not be stored for accounts in SQL 2016-08-03 18:25:00 +02:00
Ralf Becker
3c246fe494 * Api/Filemanager: add mime icons to minimal install 2016-08-03 17:21:53 +02:00
Ralf Becker
8a6127efea * EPL/Filemanager: fix PHP Fatal using file-a-file dialog (upload with setting eg. a comment) 2016-08-03 15:27:19 +02:00
Ralf Becker
1f05f6f528 do NOT write install_id twice, it is already generated in setup_process::save_minimal_config 2016-08-02 18:42:02 +02:00
Ralf Becker
d6043be127 fix not working removing of directories and changing group ownership 2016-08-02 12:21:39 +02:00
Hadi Nategh
6d9daa036b Make sure html property of html object in egw_seperateJavascript is type of string 2016-08-02 12:17:56 +02:00
Ralf Becker
868d84c411 fix "PHP Fatal error: APCuIterator::__construct(): APC must be enabled to use" in setup-cli 2016-08-02 11:43:18 +02:00
Ralf Becker
2cb2f4a6b1 fix PHP Fatal error: Class 'EGroupware\Api\Vfs\Config' not found 2016-08-02 10:20:21 +02:00
Ralf Becker
6473a66520 fix PHP Strict Standards: Only variables should be assigned by reference 2016-08-02 10:17:39 +02:00
Ralf Becker
2cbd2ded82 fix RenameTable for PostgreSQL to only use old logic, if we still have an old sequence, and if old logic is used, set sequence value 2016-08-01 13:33:20 +02:00
Ralf Becker
a862bbb270 fix PHP Warning: filemtime(): stat failed for phpgwapi/setup/setup.inc.php 2016-07-31 10:33:06 +02:00
nathangray
588862d150 Slightly more intelligent detection of plain text fields in a document that has HTML parsing turned on 2016-07-29 09:40:37 -06:00
Hadi Nategh
f84b2422c2 * all apps: Fix vfs upload button does not work in link tab 2016-07-29 12:46:24 +02:00
Ralf Becker
a327b622f7 * Templates: disable old idots and jerryr template, as new calendar does not work with them 2016-07-29 11:59:27 +02:00
Ralf Becker
b9109b6593 * Filemanager/EPL: fix broken notification / subscription to folders
Do not check for (no longer existing) $GLOBALS[egw]->hooks but for no class setup_process, to not call them during install or update.
2016-07-28 16:14:45 +02:00
Ralf Becker
237b8eceeb fix Travis error for HHVM 2016-07-28 14:05:33 +02:00
Ralf Becker
3909c2fdf0 * Admin/APC(u): fix error in clear cache: if APC(u) runs out of memory clearing just instance cache clear whole cache 2016-07-28 12:07:28 +02:00
Ralf Becker
6f4e65b782 make is-directory check more robust, by checking for PHP's directory-mode / Sqlfs::DIR_MODE too, not only for mime-type which is set eg. by stylite.links to "egs/$app" 2016-07-28 11:12:09 +02:00
Ralf Becker
d552ed4f06 define Vfs::LINK_MODE constant again, since we no longer inherit from Vfs\StreamWrapper 2016-07-28 10:06:02 +02:00
Ralf Becker
686f3af559 fix cant attach files, if none have been attached to an entry before: Sqlfs\StreamWrapper::mkdir('/apps/calendar/123',0,1) already exist! 2016-07-28 09:41:10 +02:00
Ralf Becker
4fb658c2f3 fixed SQL error caused by sql_mode ONLY_FULL_GROUP_BY under MySQL 5.7+ in VFS file-system-check 2016-07-28 09:27:24 +02:00
Ralf Becker
77bafe49fd fix PHP Fatal error: Access to undeclared static property: EGroupware\Api\Vfs\StreamWrapper::$is_root 2016-07-27 11:11:09 +02:00
Ralf Becker
4055f1faf4 fix not working forced password change on login page with fallback auth 2016-07-27 10:21:03 +02:00
Ralf Becker
5b8fd1fa92 * Api: fixed not working HTTP authentication 2016-07-26 17:09:37 +02:00
Hadi Nategh
5d52042640 * All apps: Fix styling glitches for search links dropdown 2016-07-26 17:07:49 +02:00
Ralf Becker
aa16561fe5 * eMail/UCS: fix setting of mailbox ACL for IMAP login-type "email" 2016-07-26 14:52:07 +02:00
Ralf Becker
bf3c3d9499 fix PHP Warning: Memcached::setOptions(): invalid serializer provided, if neither igbinary nor json serializer is available, staying with default php serializer 2016-07-26 12:02:09 +02:00
Ralf Becker
ea56836a17 mark test as skiped, if cache-provider throws Exception because missing PHP extension 2016-07-26 12:02:09 +02:00
Ralf Becker
1cdbbec58a making existing cache-tests available for phpunit/Travis, thought leaving old test in place as they are more performance testing 2016-07-26 12:02:09 +02:00
Ralf Becker
a691144255 fix not working symlinking vfs files to infologs/links, fixed multiple PHP deprecated should not call non-static self::url_stat static 2016-07-26 12:02:09 +02:00
Ralf Becker
67720e760f fix PHP Fatal error: Call to undefined function EGroupware\Api\Vfs\Sqlfs() 2016-07-26 12:02:09 +02:00
Ralf Becker
eca0db5e6f fix PHP Fatal in propatch 2016-07-26 12:02:09 +02:00
Ralf Becker
2d1ddc1ef7 make Vfs\StreamWrapper::symlinkCache_remove public, to allow calling from Vfs 2016-07-26 12:02:09 +02:00
Ralf Becker
0c3c041dbb fix rename and load_wrapper missing in Vfs class 2016-07-26 12:02:09 +02:00
Ralf Becker
14908a4172 implement PHP 5.4+ stream_metadata method for VFS, allowing to use that functionality from other stream-wrappers like php-smbclient 2016-07-26 12:02:09 +02:00
Ralf Becker
112cc725a2 Vfs no longer extends Vfs\StreamWrapper, as this is the only way to keep static function signatures for Vfs class, also cleans up a bit 2016-07-26 12:02:09 +02:00
Ralf Becker
3845467b73 fixing our wrong static methods in stream-wrapper: unlink, rmdir, mkdir, rename and url_stat (they are not static, so PHP can pass in $context) 2016-07-26 12:02:09 +02:00
Ralf Becker
a4c891e702 * LDAP: fix not working password change by user 2016-07-26 08:50:46 +02:00
Ralf Becker
79e13cfb4e log execeptions happening during mergeprint for easier debugging 2016-07-25 15:05:30 +02:00
Hadi Nategh
6b593b829b Implement new representation for et2_selectbox widget of multi tags with limited single row 2016-07-25 10:57:32 +02:00
Hadi Nategh
760bdf37a3 Remove not used library from api 2016-07-25 10:52:45 +02:00
Hadi Nategh
5459267be2 * All apps: Fix not able to set date for empty date fields in mobile template 2016-07-25 10:44:44 +02:00
Hadi Nategh
5a57314db6 Fix file upload progress doesn't show up on hover over 2016-07-21 16:26:19 +02:00
Hadi Nategh
a40d15f519 Fix et2 dialogs' buttons sometimes get weird styling 2016-07-21 16:25:50 +02:00
Ralf Becker
7c1e06ff0d fix two more cases in which "show_generation_time" is queried and should never trigger a request to server, see 1c6c930312 2016-07-21 10:52:24 +02:00
Ralf Becker
94775dd858 if "common" prefs are not loaded, do not display page generation time
Before we queried page_generation_time common preference without a callback, which send a synchronious request to server to fetch common preferences, when it returned it looked for the preference again and send the next synchronious request to the server, in an infinit loop. Now setting _callback parameter of egw.preference() to false, just returns undefined, if common preferences are not yet loaded, but dont try to query them from server
2016-07-20 17:17:03 +02:00
Ralf Becker
bb85ef374e forgot to modify Link::get_data() 2016-07-15 19:44:14 +02:00
Ralf Becker
833725edf9 Link::query callback needs to be called with reference as 3. parameter, passing now array with parameters instead of single parameters 2016-07-15 19:43:57 +02:00
Ralf Becker
f04878aa19 * API/ProjectManager: fixed some errors caused by no longer sharing instanciated objects not designed to be shared 2016-07-15 19:43:17 +02:00
Hadi Nategh
7d9697305d Evaluate show_generation_time preference value before calling for pageGenTime 2016-07-15 17:31:56 +02:00
nathangray
f3c6638031 Fix common and admin translations were sometimes missing 2016-07-15 08:11:07 -06:00
nathangray
eba199e963 German translation for long task totals 2016-07-15 08:10:55 -06:00
nathangray
9260dae493 Add totals (selected, successful, skipped, failed) to long task dialog 2016-07-15 08:10:55 -06:00
Hadi Nategh
0e74579426 Fix chosen touch events handler to get it working for both iOS and Android 2016-07-15 15:37:28 +02:00
Ralf Becker
8256b99443 fix not working forced password change on login screen 2016-07-15 14:48:11 +02:00
Ralf Becker
e931d39a8d fix missing slash in path of adLDAP.php 2016-07-15 14:28:01 +02:00
Hadi Nategh
79c8adb873 * All apps: Fix filter-categories does not work in iOS 2016-07-15 14:19:09 +02:00
Ralf Becker
5788d04073 fix ntlm directory path 2016-07-15 13:55:37 +02:00
Ralf Becker
8bb1c26705 enable APCu for caching with >= 32M and fix post_install to patch Ubuntu-16.04 /etc/php/7.0/cli/conf.d/20-apcu.ini 2016-07-15 13:25:00 +02:00
Hadi Nategh
1aa70236fa * Calendar: Fix Generate Page Time's indicator screws calendar view up 2016-07-15 09:51:57 +02:00
Hadi Nategh
1677dd205c Create DOM node for pageGenTime data 2016-07-15 09:44:16 +02:00
Ralf Becker
554bca8393 send page-generation- and session-restore-time via json response not as dom fragment 2016-07-15 09:43:39 +02:00
Ralf Becker
6e60eba80f * NTLM: move ntlm login code from phpgwapi to api to allow NTLM login in 16.1 minimal install 2016-07-15 08:08:24 +02:00
Ralf Becker
843ad65200 * ActiveDirectory: using adLDAP now from adldap2/adldap2=4.0.4 via composer 2016-07-15 07:42:12 +02:00
Moritz 'Morty' Strübe
3ec18a6638 Also adjust links when migrating from Ldap to DB 2016-07-14 10:39:26 +02:00
Ralf Becker
4dfe61050e need to use global namespace for non-namespaced phpunit 4.8 class PHPUnit_Framework_TestCase 2016-07-13 13:46:16 +02:00
Ralf Becker
911ecdea99 fix Travis errors with phpunit 4.8 under PHP < 7 2016-07-13 13:46:04 +02:00
Ralf Becker
a96ebb7513 adding a first unit test to EGroupware, plus a test runner running all test-classes in either:
$app/src/.*/test/$classTest.php or $app/test/class.$classTest.inc.php
adding test runner doc/test-cli.php to Travis
2016-07-13 08:22:46 +02:00
Ralf Becker
a4577d088b fix typo 2016-07-12 21:17:00 +02:00
Hadi Nategh
3fe6de4250 Fix missing dot for class name used in commit 81829c2496 2016-07-12 17:05:54 +02:00
Hadi Nategh
9f821b8e7e Fix filter-categories in mobile template 2016-07-12 17:05:12 +02:00
Ralf Becker
5e5a76c4c2 fall back to Api\MimeMagic::filename2mime, if mime_content_type function is not available 2016-07-12 11:59:43 +02:00
Ralf Becker
230ec19265 fix Scrutinizer "bugs" 2016-07-12 10:28:39 +02:00
Ralf Becker
5bb3afca93 fix Scrutinizer "bugs" 2016-07-12 10:27:49 +02:00
Ralf Becker
7da7244a2b fix Scrutinizer "bugs" 2016-07-12 10:27:38 +02:00
Ralf Becker
03ee5fccee fix Scrutinizer "bugs" 2016-07-12 10:27:27 +02:00
Ralf Becker
03e3ae3c58 fix Scrutinizer "bugs" 2016-07-12 10:27:12 +02:00
Ralf Becker
af9cb54072 * LDAP/UCS: groups not found when searching for them eg. in custom fields (account-type=both) 2016-07-11 15:10:17 +02:00
Ralf Becker
d486a855e0 display login-message depending on $_GET[cd] and whats in database/header for "login_message" 2016-07-11 11:06:27 +02:00
Ralf Becker
0c1018ba94 move check_logoutcode to Api\Framework\Login, where it is used 2016-07-11 11:06:13 +02:00
Ralf Becker
58e134415e * Setup/Auth: fix PHP Fatal with Sqlssl authentication (Class EGroupware\Api\Auth\auth_sql not found) 2016-07-09 09:22:38 +02:00
Hadi Nategh
708ca8d63b Style et2_taglist_category similar to nextmatch filter-cat 2016-07-08 13:24:53 +02:00
Hadi Nategh
291007c0dd * All application/category filter:
- Implement category colors for cats-filter in all lists
2016-07-08 13:23:45 +02:00
Ralf Becker
1687476928 * Admin: add used caching provider and APCu stats to "PHP Information" 2016-07-08 12:10:55 +02:00
Ralf Becker
5f3f550bd3 * eSync: fix not synced subject and other headers, after RC3 Outlook memory reduction 2016-07-08 10:35:41 +02:00
Ralf Becker
998bf163af grr fix typo, thanks to Travis 2016-07-08 09:10:48 +02:00
Ralf Becker
5c8070d5d2 * Restore: fix failed restore under MySQL 5.7 by temp. disabling strict mode to allow inserting zero dates 2016-07-08 08:41:46 +02:00
Ralf Becker
0b64ced1d1 * PHP7/ImportExport: fix different evaluation order of PHP 5 and 7 gives eg. error "Function name must be string" in wizard 2016-07-07 21:23:59 +02:00
Ralf Becker
a75c425f57 turn off permanent error_log 2016-07-07 19:55:59 +02:00
nathangray
cca763bba2 Fix favorite delete confirm dialog header was not translated 2016-07-07 10:19:59 -06:00