Commit Graph

559 Commits

Author SHA1 Message Date
Ralf Becker
683f09bf6c moving etemplate translations to api to allow installation without (old) etemplate, added debug GET parameter to lang.php to JSON pretty-print 2016-05-05 09:31:54 +00:00
Ralf Becker
22b785c5a6 do not request translations empty or undefined app name from server 2016-05-05 09:23:06 +00:00
Ralf Becker
5353072052 mv template specific images from "phpgwapi" to "api" and search "api" also on client-side for image, added debug GET parameter to images.php to JSON pretty-print instead of one line javascript 2016-05-05 09:16:27 +00:00
Ralf Becker
a2a537e69f setting CalDAV/CardDAV server version to 16.1 2016-05-05 07:26:27 +00:00
Ralf Becker
4af0e7cb1c WIP EGroupware without phpgwapi&etemplate 2016-05-04 19:07:54 +00:00
Nathan Gray
d7eb464605 Hide unit label if there is no value 2016-05-04 18:01:20 +00:00
Nathan Gray
00d668f6d5 Fix bad day unit label in readonly duration 2016-05-04 17:59:58 +00:00
Ralf Becker
8c7c0c1eb2 reading holidays now from Mozilla holiday calendars, or a custom iCal URL 2016-05-04 17:15:18 +00:00
Nathan Gray
0ecf39a722 Properly handle nextmatch columns where the width is not set 2016-05-04 15:48:58 +00:00
Hadi Nategh
8e92a42c65 Implement set_disabled for select widget with tags enabled 2016-05-04 14:29:44 +00:00
Ralf Becker
760c8193fb fix image with name filter is not found, because empty vfs store returns empty array having a method filter, now we check that attribute is of type string 2016-05-04 13:57:26 +00:00
Hadi Nategh
d6d9a076ae Check Notification API is supported by browser before using it 2016-05-04 13:04:55 +00:00
Hadi Nategh
c6bda1524f Mobile theme:
- Replace 'Edit' caption in view template with an icon, makes it similar to other dialogs
2016-05-04 08:23:48 +00:00
Hadi Nategh
9d03e085ed Ask for notification permission only when it gets called 2016-05-04 08:12:51 +00:00
Nathan Gray
d2717517ec If the total width of the columns is greater than what is available, distribute the shortage across fixed width columns 2016-05-03 20:55:39 +00:00
Ralf Becker
72404a1e29 using new api for mail app 2016-05-03 19:17:44 +00:00
Ralf Becker
e5d6f6a909 fix calendar preferences to show start- and end-time of day 2016-05-03 13:24:21 +00:00
Ralf Becker
c3482510b6 load EGroupware logo from api, no longer in phpgwapi 2016-05-03 13:02:33 +00:00
Ralf Becker
39aff50989 fw_mobile needs to be moved to pixelegg 2016-05-03 12:52:08 +00:00
Nathan Gray
c8fe06551f Fix merging into email headers adds '@missing_domain' 2016-05-03 00:10:30 +00:00
Ralf Becker
c15fcdfb52 WIP egw installs now without phpgwapi and allows to login 2016-05-02 22:26:40 +00:00
Ralf Becker
19d4965762 no need to instanciate object for static methods 2016-05-02 20:24:16 +00:00
Ralf Becker
834cc466f5 to allow installing api or EGroupware without phpgwapi, old exceptions which we have to extend in order allow old apps to catch exceptions thrown from new api, have to reside in api/inc and get autoloaded 2016-05-02 16:57:50 +00:00
Ralf Becker
1034ecb8fc fix typo 2016-05-02 15:31:07 +00:00
Ralf Becker
cea5c69b7f move CreateObject and ExecMethod into new api 2016-05-02 14:41:48 +00:00
Ralf Becker
1cda6e6cb4 change Pixelegg template to no longer depend on jdots 2016-05-02 14:19:34 +00:00
Ralf Becker
57f8a9a8eb remove dependency on phpgwapi as far as css is concerned 2016-05-02 12:31:24 +00:00
Klaus Leithoff
f2effdff1c handle doublequotes that may enclose URLs 2016-05-02 12:09:42 +00:00
Ralf Becker
04e890d919 fix wrong case in dhtmlxtree.css 2016-05-01 14:59:47 +00:00
Ralf Becker
3bd9b98fd5 fix PHP Fatal error: Cannot use accounts as accounts because the name is already in use under PHP 5.4 2016-05-01 14:18:56 +00:00
Ralf Becker
1edfd61294 moving jscalendar translations back to phpgwapi, changed app-name of phpgwapi to "old EGroupware Api" and used current translations for new api 2016-05-01 14:13:21 +00:00
Ralf Becker
429177686a make home a regular application, which can eg. disabled, incl. moving all services using "home" as appname to "api" and moved some other forgotten stuff from phpgwapi&etemplate to api 2016-05-01 09:57:48 +00:00
Ralf Becker
70e084972a fix infinit recursion, when creating new bundles, caused by max_modified not calculated 2016-04-30 17:05:00 +00:00
Ralf Becker
8536635b1c no more dynamic minifying 2016-04-30 14:30:13 +00:00
Ralf Becker
528a4cf3d2 comment permanent error_log in includeCSS 2016-04-30 10:24:32 +00:00
Ralf Becker
9aac672e8f use Grunt&cssmin to minify CSS files, moved diverse conditional includes into etemplate2.css, as we anyway include all widgets from api 2016-04-30 09:29:54 +00:00
Nathan Gray
766dd31d16 Only allow printing custom fields if they're already selected (and loaded) 2016-04-29 16:35:00 +00:00
Nathan Gray
04ab1494fb Show loader while recovering from print 2016-04-29 16:34:18 +00:00
Hadi Nategh
6260d948a7 Implement Web Notification API into egw_notification 2016-04-29 14:25:07 +00:00
Ralf Becker
22fa4e70bc moving to stray css includes into etemplate2.css, so they also get minified and loaded in one go 2016-04-29 13:43:50 +00:00
Ralf Becker
be1ec12b17 silencing "Illigal string offset" errors 2016-04-29 11:59:53 +00:00
Klaus Leithoff
8e02180904 * Mail: allow to define an existing folder as archive folder and allow to move messages to the specified folder with either right-click action or EGW-shortcut 2016-04-29 11:23:05 +00:00
Ralf Becker
b86a5d469c use vcard_charset preference for generating vcards for addressbook 2016-04-29 08:52:28 +00:00
Hadi Nategh
1bf2ab4016 Implement enable/disable quantity base on participant's value type 2016-04-29 08:40:55 +00:00
Ralf Becker
0eb3619cd1 * Mail/Addressbook/Calendar: add and use charset when sending/receiving mails with vCard/iCals, change default vCard charset preference to utf-8 2016-04-29 07:51:13 +00:00
Ralf Becker
66cdf2c089 add missing public static 2016-04-28 18:07:54 +00:00
Nathan Gray
2821c9bf43 Allow popup menu checkboxes to be toggled base on selected entry data 2016-04-28 16:39:53 +00:00
Hadi Nategh
9cd72f8e14 Mobile theme:
- Missing part from commit 55893
2016-04-28 13:55:31 +00:00
Hadi Nategh
45e7536a8b Mobile theme:
- Fix back button state and a confirmation to logout action
2016-04-28 13:53:44 +00:00
Hadi Nategh
225f3a4576 Fix taglist-cat multiple ignores multi selection on set value 2016-04-28 08:34:57 +00:00
Nathan Gray
ad4e9f6770 Translate week header in date picker 2016-04-27 22:31:05 +00:00
Ralf Becker
b6403e336e move common::get_tpl_dir to Api\Framework\Template::get_dir, and replaced some other overlooked methods 2016-04-27 19:11:41 +00:00
Nathan Gray
66386c1a42 Remove 1 week limit if end date is not provided 2016-04-27 15:43:38 +00:00
Ralf Becker
91dcf44555 * CardDAV: fix not working creation of new CardDAV account with OS X 10.11.4 addressbook (it stays empty)
OS X 10.11.4 addressbook does a propfind for "addressbook-home-set" and "directory-gateway" in the root and does not continue without it
2016-04-27 13:28:05 +00:00
Ralf Becker
bf0d1c47a0 fix sql error after clear cache, because db class has again type "mysqli" instead of just "mysql" 2016-04-27 10:42:31 +00:00
Nathan Gray
523edb57c3 Fix customfield columns do not always come back after print 2016-04-26 18:58:54 +00:00
Nathan Gray
39fb455bea Remove printing margin adjustment, looks like print css covers left margin now (checked Chrome, FF, Safari, IE) 2016-04-26 18:57:11 +00:00
Ralf Becker
1ffea39da0 using now Egw and Egw\Applications direct 2016-04-26 18:56:51 +00:00
Nathan Gray
7bb134b273 Fix merge print placeholders for only links to a certain app 2016-04-26 17:07:42 +00:00
Hadi Nategh
76106188dc Still let the selected tab be minimized by clicking on "-" button for v-tabs 2016-04-26 16:38:38 +00:00
Hadi Nategh
c376aab408 Fix active tab does not work on vertical aligned tabs 2016-04-26 15:01:12 +00:00
Ralf Becker
5d615a4c5b fix wrong namespaces 2016-04-26 15:00:27 +00:00
Ralf Becker
8315cbfee0 move egw and applications class to api including (common_)functions.inc.php 2016-04-26 14:38:08 +00:00
Ralf Becker
70710d26e2 fix wrong/old class-name 2016-04-26 12:27:40 +00:00
Ralf Becker
c14f25c0e8 hide spellchecker config and always use browser native spellchecker 2016-04-25 20:14:47 +00:00
Ralf Becker
7e358fe5ad removed not working typeof value == "array" 2016-04-25 20:05:53 +00:00
Nathan Gray
7baf298bf7 Keep value if et2 tried to set it before select_options were there, and it got stripped out 2016-04-25 20:02:58 +00:00
Nathan Gray
f58ef2980f When select options change and we have tags turned on, update chosen 2016-04-25 19:37:37 +00:00
Ralf Becker
88ecdf19db check type in all cases to specified eg. select-app was as widget-type was not understood 2016-04-25 19:21:46 +00:00
Ralf Becker
06c4b2db23 use new et2 site config 2016-04-25 15:57:38 +00:00
Ralf Becker
220aacf48b no longer allow to use lang syntax %1 in eT2 instead of native %s, as it does not allow to use %1 and costs unnecessary performance 2016-04-25 15:15:02 +00:00
Nathan Gray
2513fcb7d7 - For print column dialog don't check individual customfields if no customfields are selected
- Fix afterPrint failing if columnselection preference had no nextmatch prefix
2016-04-25 14:49:59 +00:00
Hadi Nategh
980a5537d9 Fix sidebar toggle sometimes flickers in close states in FF 2016-04-25 13:51:21 +00:00
Ralf Becker
8a96e97684 keep an array for options, do not convert them to an object 2016-04-25 08:26:44 +00:00
Ralf Becker
a9eba441d7 fix autorepeated id "cat[3]" would pick array element 3 from cat 2016-04-23 16:11:28 +00:00
Nathan Gray
5e2d782414 Fix filter for only printing visible templates 2016-04-21 20:30:10 +00:00
Ralf Becker
112ed53f47 allow to use Framework::message together with Framework::redirect, eg. to show success message and redirect to index page 2016-04-21 15:25:04 +00:00
Ralf Becker
9a57fbaedd fix server-side validation to allow values of option children 2016-04-21 14:51:40 +00:00
Hadi Nategh
d8cf78d045 Fix taglist-cat widget jumps when selecting "-" button 2016-04-21 14:13:20 +00:00
Hadi Nategh
6c19f07d17 Revert commit 55785 as it wasn't a proper fix, and fix taglist suggestion in calendar edit 2016-04-21 12:39:31 +00:00
Hadi Nategh
f77f52d77d Stay focused after item selection to get ready for next selection and avoiding two clicks 2016-04-21 10:45:19 +00:00
Nathan Gray
e869788263 Prompt for columns to print as well as row count when printing a nextmatch 2016-04-20 23:05:43 +00:00
Nathan Gray
1019046a0d - Avoid changing content manager select options when reading from template tags
- More checking with namespaced select options to avoid grabbing all children of a parent namespace
2016-04-20 21:20:36 +00:00
Ralf Becker
22701ce83f WIP et2 based site configuration 2016-04-20 18:52:55 +00:00
Hadi Nategh
02c7014a0a Fix taglist suggestion is not visible at all 2016-04-20 15:25:09 +00:00
Hadi Nategh
1e3b918957 Fix taglist widget:
- Fix jumping input
- Fix suggestion popup needs always two clicks
- Fix styling for select input
- Fix calendar category and participant according to taglists changes
2016-04-20 14:03:29 +00:00
Hadi Nategh
11a3b76094 Fix upload a file via et2_file widget, keep all buttons in readonly mode even if the uploading process is finished 2016-04-20 11:38:07 +00:00
Nathan Gray
da2dd3bd16 Fix error causing relative columns to have 0 width under some resize conditions 2016-04-18 22:08:41 +00:00
Hadi Nategh
0ba271d581 Enable/Disable add participants based on participant value in calendar edit 2016-04-18 13:56:47 +00:00
Hadi Nategh
c4ff76b47d Replace link_to icon from plus to attach 2016-04-18 10:58:51 +00:00
Hadi Nategh
bb59879064 Implement readonly for file widget. Additionally, make a generic style for readonly widgets 2016-04-18 10:37:08 +00:00
Ralf Becker
b5d106a55e fix PHP Fatal error: Class 'EGroupware\Api\egw' not found in api/src/CalDAV.php on line 1527 2016-04-15 15:35:52 +00:00
Ralf Becker
aa2275ace8 cant completly remove egw_framework::set_on* methods, as they are still in use 2016-04-15 15:12:27 +00:00
Hadi Nategh
9c9383f21d Fix styling for button with only image 2016-04-15 12:42:38 +00:00
Klaus Leithoff
9f6104f53a prevent possible endless recursion on decodeMailHeader 2016-04-15 08:50:02 +00:00
Nathan Gray
af0382ffb3 Fix async services. Fixes calendar alarms disappearing. 2016-04-14 21:30:36 +00:00
Klaus Leithoff
b4a4864717 try to prevent infinite loops when decoding mail-headers 2016-04-14 14:28:41 +00:00
Hadi Nategh
7065f6fd2e Fix some misalignment for link_to widget, happens in FF 2016-04-14 13:48:12 +00:00
Nathan Gray
0c438366d7 Update timepicker library to 1.6.1 2016-04-13 18:44:45 +00:00
Nathan Gray
a3a0450143 Fix unable to clear nm entry headers by catching change event instead of select 2016-04-13 16:00:49 +00:00
Nathan Gray
8b30732aa0 Fix fatal error when deleting favorites 2016-04-13 15:01:20 +00:00
Nathan Gray
df7611275b Fix missing color picker CSS 2016-04-13 14:28:07 +00:00
Hadi Nategh
6e30e4e0b3 Fix styling for Filemanager:
- Fix plus icon of add button is misaligned in FF
- Fix add button not getting same hover background as others
2016-04-13 08:48:56 +00:00
Nathan Gray
988720340d Some more taglist issues:
- stop extremely large sizing in some cases
- make sure toggle button is correctly removed
2016-04-12 22:25:29 +00:00
Nathan Gray
95e1cd00ff Try to make the input box fill the line better when we hide the trigger button 2016-04-12 20:58:21 +00:00
Hadi Nategh
662e82b897 Fix reload on a popup with ckeditor breaks ckeditor loading. Additionally, fixes broken popup resize 2016-04-12 12:48:40 +00:00
Klaus Leithoff
6ce3c261c0 allow quickfiltering when bydate filter is active 2016-04-12 11:05:04 +00:00
Nathan Gray
c6ab38a51d Fix set_min/set_max with a full string timestamp caused a formatting error 2016-04-11 21:28:10 +00:00
Nathan Gray
d5225a8338 Change portlet header text color to contrast with selected color 2016-04-11 16:42:50 +00:00
Nathan Gray
fd3ae9f899 Fix "Cannot read property 'replace' of undefined" when setting multi-select with empty label to empty value 2016-04-11 15:59:17 +00:00
Nathan Gray
ce94f07599 Fix missing line breaks when merging entries that do not need HTML processing 2016-04-11 15:21:16 +00:00
Hadi Nategh
42beae83cc Styling dialogs W.I.P.:
- Fix alignments in infolog edit dialog
2016-04-11 14:08:01 +00:00
Hadi Nategh
b35753ba79 Styling dialogs W.I.P.:
- Fix alignments in timesheet edit dialog
- Fix date duration widget width
2016-04-11 12:31:18 +00:00
Ralf Becker
dde6da248d search api and phpgwapi for images for now, later we can remove phpgwapi 2016-04-08 14:36:38 +00:00
Hadi Nategh
27b9ea6640 Fix et2_file upload 2016-04-08 13:47:05 +00:00
Ralf Becker
8325963b06 fixed ckeditor problems if minifying was switched off, caused by egw.js loaded twice, removed old file-name based workaround on client-side in favor of not requesting it from server-side 2016-04-08 10:38:44 +00:00
Hadi Nategh
c0bc4dc9de Fix input filed extends more than et2_file widget container size 2016-04-08 08:39:41 +00:00
Ralf Becker
f3c1f5b5fb move old Template class to Api\Framework\Template, as it is still used to render header and login page 2016-04-08 07:50:15 +00:00
Ralf Becker
8c87cf9dfc move egw_framework to api and refactor it 2016-04-07 20:42:06 +00:00
Hadi Nategh
d48a968674 Dialog styling W.I.P.:
- New design for link_to widget
2016-04-07 17:13:06 +00:00
Nathan Gray
e69df0dd3b Remove scroll check, doesn't appear to be needed anymore and it was stopping dnd on skinny (< 15px) nodes 2016-04-07 16:48:13 +00:00
Hadi Nategh
e14edec460 Dialog styling W.I.P.:
- Fix customfield getting scrollbar
2016-04-07 13:25:50 +00:00
Hadi Nategh
1926a80d70 Dialog styling W.I.P.:
- Get all buttons fit into footer toolbar for calendar edit
- Fix extra bottom border on alarm
- Fix grid padding
2016-04-07 12:58:20 +00:00
Ralf Becker
6e3da3d7e3 move egw_include_mgr class to Api\Framework\IncludeMgr 2016-04-07 11:16:58 +00:00
Ralf Becker
2e3bd32721 moving all - non ancient ;-) - js files to api/js 2016-04-07 10:38:05 +00:00
Ralf Becker
028318a808 fix case in Asyncservice class 2016-04-06 22:47:01 +00:00
Nathan Gray
559eb432f0 Get home working again 2016-04-06 22:16:46 +00:00
Ralf Becker
341a56dc3d moving client-data urls to api 2016-04-06 19:57:40 +00:00
Ralf Becker
5d72bbfc1c move thumbnailer to api 2016-04-06 19:39:49 +00:00
Ralf Becker
9fd7b645ec move asyncservices class to api 2016-04-06 19:27:47 +00:00
Hadi Nategh
aca15a2a97 Mobile theme W.I.P.:
- Alway use flat skin for ckeditor regardless of preference
- Add freetimesearch dialog
2016-04-06 16:45:32 +00:00
Hadi Nategh
50aae863b6 Edit dialogs style W.I.P.:
- Give tab widget new look
- Style grid header different
- Re-design calendar edit dialog
- Some fixes for multi et2_taglist
2016-04-06 16:43:51 +00:00
Ralf Becker
ffaeb52bce fix editing mail accounts loses imap or smtp server type caused by not correctly escaping values searched via jQuery selector 2016-04-06 14:57:44 +00:00
Ralf Becker
aa45c25685 move addressbook_merge to Api\Contacts\Merge 2016-04-06 09:49:50 +00:00
Ralf Becker
01a02a1303 hook to invalidate, if mailaccount userdata changes 2016-04-06 09:05:02 +00:00
Ralf Becker
368a99167e fix mail account dialog for non user-editable accounts was always readonly and SQL error on storing it, caused by moving tables from (no longer existing) emailadmin to api 2016-04-06 08:48:52 +00:00
Ralf Becker
36b9eb4cfb move bo_merge as Storage\Merge into api 2016-04-05 18:43:46 +00:00
Ralf Becker
41d00a0fd1 fix old exception 2016-04-05 18:39:55 +00:00
Ralf Becker
d16adff840 uninstall obsolete FelamiMail tables, if still around 2016-04-05 16:52:04 +00:00
Ralf Becker
6ca8d13166 we need 4. parameter $try_unregistered parameter in Api\Hooks::single() as it is used by Setup, which is never an installed app 2016-04-05 16:12:32 +00:00
Ralf Becker
4591f5c8b4 fix client-side nextmatch to use select-options from get_rows data for select-widgets in newly rendered rows 2016-04-05 15:05:31 +00:00
Hadi Nategh
4d22204945 Mobile theme W.I.P.:
- Stop scrolling touch confusion from tap event
2016-04-05 14:16:18 +00:00
Ralf Becker
4835611da4 remember newly set options from get_rows method for server-side validation of nextmatch filters 2016-04-05 12:56:10 +00:00
Hadi Nategh
fa60745e8e Mobile theme W.I.P.:
- Set image map cache name separately for mobile
2016-04-05 07:46:34 +00:00
Ralf Becker
fc9c345930 move egw_ical_iterator to Api\CalDAV\IcalIterator 2016-04-04 23:45:39 +00:00
Ralf Becker
d890f4f1a2 storing select_options permanent when send with rows 2016-04-04 18:36:33 +00:00
Ralf Becker
e9d1e81c49 api update script to deinstall on longer existing EMailAdmin and create it's 14.1 tables, if they are not already there (update from before 14.1) 2016-04-03 08:14:53 +00:00
Ralf Becker
2baf654e14 move all tables to new api and update api to 16.1 2016-04-02 19:55:08 +00:00
Ralf Becker
adb748d6e7 move hooks class to api and only cache hooks in instance cache (instead of database: filesystem scan takes ~4ms, cache ~0.2ms) 2016-04-02 14:16:20 +00:00
Ralf Becker
682fd42a26 move CalDAV/CardDAV server to api 2016-04-02 10:44:17 +00:00
Ralf Becker
25a1bf6360 fix missing use EGroupware\Api 2016-04-02 09:16:53 +00:00
Ralf Becker
0e443b720d fix imap server shows smpt types and visa versa, also change case of DBMail 2016-04-01 12:46:10 +00:00
Ralf Becker
63804dc101 give right aligned table cells a padding-right 8px 2016-04-01 10:18:38 +00:00
Hadi Nategh
c7b576481b Set name attribute for searchbox input as it is necessary to get autocomplete working 2016-04-01 08:19:12 +00:00
Ralf Becker
8fb9063157 moving common::(next|last)_id methods to Api\Accounts\Ldap, storing ids now in egw_config instead of egw_nextid table (which will be droped), also fix "Protocol error" on creating new accouts r55591 on 14.x 2016-04-01 08:07:03 +00:00
Nathan Gray
0f18558682 Print function for calendar 2016-03-31 20:55:41 +00:00
Ralf Becker
f838eb0f01 move country class to api, made all methods static and update country list with current (lowercase) ISO 3166 list 2016-03-31 19:41:39 +00:00
Ralf Becker
082884007e move acl class to api 2016-03-31 18:52:09 +00:00
Ralf Becker
b9809f0c19 Show icons again left of message in dialogs, only use width: 100%, if a template is specified (div has an id) 2016-03-31 17:07:05 +00:00
Hadi Nategh
42d2e62c97 Fix infolog description field keeps always empty space regardless of label content 2016-03-31 14:47:49 +00:00
Ralf Becker
ac6b0e9a94 implement et2_label_empty class for all set_label methods and remove no longer necessary label.et2_label > input[type="checkbox"], as it is covered by the standard case 2016-03-31 13:05:03 +00:00
Ralf Becker
df2791ab63 fix PHP Fatal error: Access to undeclared static property: EGroupware\Api\Mail\Html::$system_charset in api/src/Mail/Html.php on line 233 2016-03-31 11:40:17 +00:00
Ralf Becker
a54f8f2a28 fix some alignment issues: always have a margin for widgets with a lable, ... 2016-03-31 09:21:55 +00:00
Ralf Becker
22a78c4f1f some icons for Stylite template 2016-03-30 19:47:04 +00:00
Ralf Becker
4243e02f1a fix buttons with image in dialogs for non-Pixelegg template 2016-03-30 14:45:44 +00:00
Ralf Becker
2673891b97 for et2_dialogs with template, make template full width 2016-03-30 13:38:22 +00:00
Hadi Nategh
b3639466a0 Add width and height options into dialog widget 2016-03-30 09:56:00 +00:00
Hadi Nategh
d5c9994d50 Fix slideSwitch styling for both desktop and mobile templates 2016-03-29 14:43:36 +00:00
Ralf Becker
58834a0c73 fix An error happened (ErrorException): Argument 4 passed to EGroupware\Api\Vfs::copy_files() must be of the type array, none given 2016-03-29 11:01:34 +00:00
Ralf Becker
7a77706878 make send function compatible with Horde_Mime_Mail::send() to stop PHP complaining, also updated doco a bit 2016-03-29 10:40:48 +00:00
Hadi Nategh
989d1ca389 Mobile theme W.I.P:
- Fix calendar toolbar messed up with too many shown actions
- Fix SVG icons for list, planner, 4days, multiweek and today buttons
2016-03-29 10:33:10 +00:00
Ralf Becker
b42c2fe4f7 fix error when saving mail-account 2016-03-29 09:58:17 +00:00
Ralf Becker
2bd9c7c7e5 fix some wrong case usages of new Api\Html class 2016-03-29 09:13:46 +00:00
Hadi Nategh
58e7ed75dd Mobile theme W.I.P:
- Fix toolbar menulist does not respect buttons width
- Add new font size
- Fix etemplate2.css reference
2016-03-29 09:04:37 +00:00
Ralf Becker
b202223f62 fix PHP Fatal error: Cannot make static method EGroupware\Api\Vfs\Sqlfs\StreamWrapper::get_eacl() non static in class EGroupware\Api\Vfs\Links\StreamWrapper 2016-03-29 07:01:36 +00:00
Ralf Becker
f68dab4862 remove no longer required use egw_mailer, since Mailer is api now 2016-03-29 06:46:42 +00:00
Ralf Becker
47eca40f25 remove no longer required use common 2016-03-29 06:43:18 +00:00
Ralf Becker
10e6c62aa3 fix PHP Fatal error: Cannot use preferences as preferences because the name is already in use 2016-03-29 06:38:09 +00:00
Ralf Becker
5f68bc6664 move html mail specific part of translation class to Api\Mail\Html 2016-03-28 19:38:21 +00:00
Ralf Becker
d1924fee2f fix PHP Fatal error: Class 'EGroupware\Api\auth' not found 2016-03-28 19:08:05 +00:00
Ralf Becker
cfe77bd468 fix PHP Fatal error: Class 'EGroupware\Api\config' not found 2016-03-28 19:03:23 +00:00
Ralf Becker
00abda4682 moving emailadmin to api and admin, only emailadmin_hooks and tables still need moving 2016-03-28 18:51:38 +00:00
Ralf Becker
a417310b9d make all static methods static to avoid warning when they get called static 2016-03-27 09:41:58 +00:00
Nathan Gray
2d26d595b6 Avoid type mismatch causing 'Not an integer' 2016-03-25 16:22:06 +00:00
Nathan Gray
12ca409137 When server gives taglist options via ajax, take them all. Only filter local suggestions. 2016-03-25 16:04:27 +00:00
Nathan Gray
8105b93f80 Fix cat_is_select setting was not used 2016-03-24 19:05:26 +00:00
Nathan Gray
dcc83171ad Turn off error log 2016-03-24 18:10:42 +00:00
Nathan Gray
633a1b1dec Fix category sorting 2016-03-24 17:47:55 +00:00
Nathan Gray
11fbdbd34a Move gantt widget into projectmanager - remove gantt from api widget list
- Should fix some random etemplate breaking
2016-03-24 15:55:43 +00:00
Nathan Gray
63a69c03cd Move gantt widget into projectmanager 2016-03-22 21:33:58 +00:00
Nathan Gray
c871b6728d Default taglist category to need 0 characters before expanding, since we'll have the options. 2016-03-22 14:48:59 +00:00
Ralf Becker
3f3973af51 only scanning widget directory, not parent 2016-03-22 10:21:13 +00:00
Ralf Becker
9c0cd79425 missing propset svn:keywords Id 2016-03-22 09:10:08 +00:00
Ralf Becker
066257ff30 fix PHP Fatal error: Call to a member function read() on null in etemplate/inc/class.contact_widget.inc.php, private var must be only protected 2016-03-22 08:56:55 +00:00
Ralf Becker
7c1d0dfdf1 fix PHP Fatal error: require_once(): Failed opening required HTTP/WebDAV/Server.php, caused by it's new location 2016-03-22 08:44:11 +00:00
Nathan Gray
6a2167f11b Change some inconsistent relative dates 2016-03-21 23:50:21 +00:00
Nathan Gray
b28792ffaf Better handling of missing top-level cache (happens in sitemgr) to avoid infinite loops 2016-03-21 22:25:33 +00:00
Nathan Gray
8ed3a42a7a Fix scoping caused legacy categories to fail 2016-03-21 22:04:10 +00:00
Ralf Becker
77c5102792 fixed more namespace issues found by doc/check_namespace.php I wrote and forgot about it ;-) 2016-03-21 21:21:40 +00:00
Nathan Gray
847abfb198 - Fix some namespace issues breaking custom filter header
- Fix some copy+paste errors
2016-03-21 20:36:12 +00:00
Nathan Gray
496d24592b Correctly handle optgroups in both processed & legacy forms 2016-03-21 19:56:40 +00:00
Nathan Gray
47198549f7 Fix unable to re-open datepicker after clicking 'today' 2016-03-21 19:17:11 +00:00
Nathan Gray
e214a7153c Break out Nextmatch sub-widgets into their own files, and make sure sub widgets can get autoloaded. 2016-03-21 18:40:43 +00:00
Nathan Gray
9905a3f6bd Cache widget registry for an hour.
Fixes historylog not loading entries.
2016-03-21 17:08:17 +00:00
Nathan Gray
2935c25eed Add missing use egw_framework 2016-03-21 16:06:26 +00:00
Nathan Gray
ca0a896fa3 Fix widget scan 2016-03-21 16:05:51 +00:00
Ralf Becker
77624244e6 do NOT call et2_ready for dialogs with a template, as it would overwrite this.et2 in app.js 2016-03-21 15:31:02 +00:00
Nathan Gray
374cfffb89 Fix missing optgroup labels 2016-03-21 15:09:57 +00:00
Nathan Gray
fd3c729454 Fix selectbox cache - needs to be undefined if missing for subsequent processing
(broken by r55418)
2016-03-21 14:43:39 +00:00
Ralf Becker
8a14cd54b8 explicilty import DateInterval, so phpDoc is correct too 2016-03-21 09:45:10 +00:00
Ralf Becker
a0d478a92b fix PHP Fatal error in CalDAV preferences, caused by missing explicit import of old preferences class 2016-03-21 09:31:40 +00:00
Ralf Becker
fb4101e38a moving et2 images to api 2016-03-21 09:27:41 +00:00
Ralf Becker
23f07571c6 moving et2 images to api 2016-03-21 09:26:03 +00:00
Ralf Becker
1b5429f0ff replacing common::egw_exit() with exit, there is no more extra cleanup 2016-03-20 16:30:01 +00:00
Ralf Becker
67cb60b972 moving egw_digest_auth, vfs_webdav_server and egw_sharing to new api 2016-03-20 16:19:53 +00:00
Ralf Becker
485416d5f1 replace create_function with performanter, because opcachable closure 2016-03-20 14:01:29 +00:00
Ralf Becker
4da844a70f move categories class to api 2016-03-20 13:41:33 +00:00
Ralf Becker
52a7f2198a move egw_json_(request|response|push) to api 2016-03-20 13:02:55 +00:00
Ralf Becker
31b4e66690 fix not working changing of preferences, caused by missing reference operator in expand_widget 2016-03-20 11:14:06 +00:00
Ralf Becker
7968afc67d add missing docu of parameter 2016-03-20 10:59:59 +00:00
Ralf Becker
59ffb2497b add missing use common 2016-03-19 17:05:59 +00:00
Ralf Becker
df7d8c414a modified client-side to call new server-side classes in api, instead compatibility classes in etemplate 2016-03-19 16:16:59 +00:00
Ralf Becker
6af1e23b66 move et2 widget browser to api, thought link to it is currently only in old eTemplate sidebox menu 2016-03-19 15:25:32 +00:00
Ralf Becker
d8514e47b9 move etemplate2.css to api 2016-03-19 15:22:41 +00:00
Ralf Becker
9b446f7c17 moving et2 js files to api 2016-03-19 13:48:07 +00:00
Ralf Becker
2f4c727f9d moving eT2 server-side to api 2016-03-19 13:06:07 +00:00
Ralf Becker
7b0cc41f3f fix old eTemplate buttons with text and image to not have image behind caption 2016-03-19 11:38:00 +00:00
Ralf Becker
0cd226b91d make static functions static as they should be 2016-03-19 10:44:00 +00:00
Nathan Gray
c2eaabaa5b Fix namespace error 2016-03-18 15:37:57 +00:00
Klaus Leithoff
5fc0e88b68 fix issues with new namespaces / translation class moved to new api/src location 2016-03-17 09:29:54 +00:00
Klaus Leithoff
70e5dbf50f further refinement on activate_links 2016-03-15 15:30:17 +00:00
Ralf Becker
a5946c4379 fix typo causing old etemplate to fail when using ckeditor 2016-03-15 13:33:03 +00:00
Hadi Nategh
b7a1280c17 Fix can not open any attachment caused by wrong path 2016-03-15 10:05:34 +00:00
Nathan Gray
d1da1f8bb7 Fix class not found error 2016-03-14 21:11:37 +00:00
Ralf Becker
99714aa9e9 move egw_framework::csp_*_source_attrs($attrs) to Api\Header\ContentSecurityPolicy::add(*-src, $attrs) and egw_ckeditor_config to Api\Html\CkEditorConfig 2016-03-13 14:08:31 +00:00
Ralf Becker
69a070498b fix wrong namespace 2016-03-13 12:48:45 +00:00
Ralf Becker
02bf09aaae move egw_htmLawed to api/src/Html/HtmLawed, @Klaus: does mail really need to call that class, cant it use Html::purify? 2016-03-13 11:56:00 +00:00
Ralf Becker
85695f0d41 split html class to Api\Html, Api\Header\Content, Api\Header\UserAgent and translation 2016-03-13 11:22:44 +00:00
Ralf Becker
c1e0b16d88 if there is no primary key lock table on backup to be able to query rows in chunks to limit memory usage 2016-03-09 20:25:22 +00:00
Ralf Becker
20da4e41bc an other namespace fix 2016-03-09 19:45:21 +00:00
Hadi Nategh
f3965b964f Mobile theme:
- Implement check avaliable apps for mobile on client-side
2016-03-09 11:12:44 +00:00
Ralf Becker
22d833affa for mobile devices prever $app/templates/mobile/images 2016-03-08 13:10:03 +00:00
Ralf Becker
c431cf3c0e fix wrong class-name used only for accounts in LDAP and addressbook in SQL 2016-03-08 08:54:40 +00:00
Ralf Becker
564b2b0fd7 fixes and first successful tests with Ldap backend 2016-03-08 08:13:26 +00:00
Ralf Becker
0fa46377d8 fix PHP Fatal error: Class 'EGroupware\Api\Storage\notifications' not found in api/src/Storage/Tracking.php on line 769 2016-03-07 10:03:14 +00:00
Ralf Becker
fca25726c9 fix 2 PHP Fatal error:
- Class 'EGroupware\Api\etemplate' not found in api/src/Contacts.php on line 1527
- Undefined constant 'EGroupware\Api\SessionEGW_SESSION_VAR' in api/src/Storage/Tracking.php on line 409
2016-03-07 09:59:12 +00:00
Ralf Becker
0ba4283f9f move egw_link to Api\Link 2016-03-07 08:46:32 +00:00
Ralf Becker
3c02af0875 fix typo in case 2016-03-06 21:13:26 +00:00
Ralf Becker
3742ecec05 some more resolved dependencies 2016-03-06 20:56:09 +00:00
Ralf Becker
f116751110 move auth classes to Api\Auth, only Sql is currently tested! 2016-03-06 20:48:37 +00:00
Ralf Becker
b95727bb6f move auth classes to Api\Auth, only Sql is currently tested! 2016-03-06 20:47:10 +00:00
Ralf Becker
d407b9aae1 moved accounts classes to Api\Accounts 2016-03-06 15:54:07 +00:00
Ralf Becker
7ada2354d3 move addresbook_bo to Api\Contacts, ldap to Api\Ldap, ldapserverinfo to Api\Ldap\ServerInfo, bo_tracking to Api\Storage\Tracking, historylog to Api\Storage\History, Api\Customfields to Api\Storage\Customfields 2016-03-06 13:45:15 +00:00
Ralf Becker
fcca19cfcf moving so_sql* to Api\Storage 2016-03-06 09:05:20 +00:00
Ralf Becker
29c7d2d1f8 cleaning up common class, moving image handling to Api\Image, eg. Api\Image::find($app,$image) instead of common::image($app,$image) 2016-03-06 09:04:44 +00:00
Ralf Becker
f7441c2e2e Api\Vfs::mime_icon() only returns url or eTemplate app/name string, no more html image tag, egw_vfs compatibility class still implements that 2016-03-05 15:59:20 +00:00
Ralf Becker
49c45ff53a cleaning up common class, moving image handling to Api\Image, eg. Api\Image::find($app,$image) instead of common::image($app,$image) 2016-03-05 15:32:49 +00:00
Ralf Becker
1484c94c28 using DateTime::to() instead of common::dateformatorder/formattime 2016-03-05 15:22:35 +00:00
Ralf Becker
ed8f6f45c4 move egw_csrf class to Api\Csrf without a compatibility class 2016-03-05 14:02:13 +00:00
Ralf Becker
0f2131e29a move egw_customfields class to Api\Customfields 2016-03-05 13:33:32 +00:00
Ralf Becker
aeb9c93b55 moved egw_session class to Api\Session and removed unused egw_session_(files|memcache) as listing sessions is done now via egw_sessions table in db and memcache has its own session handler 2016-03-05 13:14:54 +00:00
Ralf Becker
7989d702dd move mime_magic class to Api\MimeMagic 2016-03-05 12:33:37 +00:00
Ralf Becker
a24c1121a2 move egw_time class to Api\DateTime 2016-03-05 11:14:01 +00:00
Ralf Becker
49f75bc8dd move non-mail specific methods of translation class to Api\Translation 2016-03-05 10:47:20 +00:00
Ralf Becker
ea798d93f2 move config to Api\Config 2016-03-05 10:23:11 +00:00
Ralf Becker
7aa3296cc5 move config to Api\Config 2016-03-05 10:22:40 +00:00
Ralf Becker
1f3c674ef6 adding an Exceptions for caching problems 2016-03-03 11:41:45 +00:00
Ralf Becker
4486d9d7a2 fix namespace usage in refactured code:
namespace EGroupware\Api --> use eg. just Db, not Api\Db for EGroupware\Api\Db
use EGroupware\Api       --> use eg. Api\Db for EGroupware\Api\Db
2016-03-01 09:14:06 +00:00
Ralf Becker
0637063660 fix namespaces in Db exceptions 2016-02-29 13:39:35 +00:00
Ralf Becker
27c204cc7a fix namespaces in stock PHP class \Memcache(d) 2016-02-29 08:53:05 +00:00
Ralf Becker
d2e7c7da4d check for php serialization before using igbinary_unserialize 2016-02-29 08:45:33 +00:00
Ralf Becker
1ab66dd811 move exceptions to new api structure, thought to catch an exception by its deprecated name, new exceptions have to extend deprecated ones 2016-02-28 13:43:06 +00:00
Ralf Becker
b596b615b4 APCIterator is from global namespace 2016-02-28 13:22:09 +00:00
Ralf Becker
9bf4dd288e moved egw_cache to Api\Cache 2016-02-28 09:38:36 +00:00
Ralf Becker
0f93bdfcff append (optional) length of index in brackets to column, to adapt to improved pull request for ADOdb 2016-02-24 09:27:54 +00:00
Ralf Becker
e3fb4142fc need to cast to string, as ADOdb 5.20 would return NULL instead of '' for NULL, causing us to write that into NOT NULL columns 2016-02-22 13:31:44 +00:00
Ralf Becker
7f40ff5b17 work around broken ADORecordSet::GetAssoc() in ADOdb 5.20 2016-02-21 11:59:14 +00:00
Ralf Becker
2a056cca06 fix old class name in Galera health check 2016-02-21 11:07:46 +00:00
Ralf Becker
86955dfc95 work in progress: using ADOdb 5.20 and move db classes to new api directory 2016-02-20 20:27:17 +00:00
Ralf Becker
651be2a4cf removing for some of our ADOdb patches 2016-02-20 18:16:21 +00:00
Ralf Becker
ddbf473642 fix wired error in scandir "(errno 115): Operation now in progress" caused by calling opendir with undefined context 2016-01-22 13:55:37 +00:00
Ralf Becker
b4a20773b8 fix whole directories where not cleaned up, when deleting old versions and deleted files, changed .versions dir to only contain older versions (no longer deleted files / stuff from .attic too) 2016-01-21 14:35:45 +00:00
Ralf Becker
29c73a8694 * Filemanager: add ability to finally delete all old versions or deleted files from a versioned directory 2016-01-21 11:49:50 +00:00
Ralf Becker
c34ebcf9b2 fixed creating of symlink failed for not-writable entry-directory (attachments), because wrong url_stat was used, needs to be static::url_stat not self::, to use method of extending classes 2015-09-30 03:24:04 +00:00
Ralf Becker
ac04fcaa27 shorten filenames to precision of the column (200 characters9, to not give SQL error under PostgreSQL 2015-08-22 12:46:42 +00:00
Ralf Becker
02de20bddb * Filemanager/WebDAV: rename of a file or directory removed other files with names only differing in case eg. "test" and "Test" 2015-08-06 12:59:56 +00:00
Ralf Becker
92c9fbc7dc * Filemanager/Versioning: filesystem checks now fixes directories existing multiple times, causing them to appear empty 2015-07-29 09:08:31 +00:00
Ralf Becker
3943fca39d make sure we are connected, as we need ADOdb object to convert charset to MySQL (eg. utf-8 --> utf8) 2015-07-15 21:27:48 +00:00
Ralf Becker
b27dbc617c allow to specify multiple ;-separated hosts for database, by default first one is used, on connection failure other ones are tried too 2015-07-06 11:15:14 +00:00
Ralf Becker
14ccc8f0b5 added todo with url to php class allowing to stream a zip file of arbitrary size 2015-06-11 12:46:27 +00:00
Klaus Leithoff
ed12869f0d * API/VFS: download as zip; increase the time limit on a small amount of files, as they may hold a big amount of data 2015-06-11 12:30:38 +00:00
Ralf Becker
c823f64c4b fix not working download url for share on a subdirectory of a mounted filesystem with given download url 2015-04-23 19:40:55 +00:00
Ralf Becker
d1038c6d65 need to return stat array 2015-04-14 17:25:51 +00:00
Ralf Becker
e6a751e1c5 fix old class-name 2015-04-14 17:06:41 +00:00
Ralf Becker
08609c1e0b always return resource seeked to its start 2015-04-14 17:05:38 +00:00
Ralf Becker
0223553284 allow to specify "egw_data" => egw_link::set_data() instead of "tmp_name" of uploaded file to create attachments with egw_link::link() 2015-04-14 15:04:21 +00:00
Nathan Gray
f5863852e4 Make sure stat url is present before changing it. Fixes error loading mounted etemplates. 2015-03-24 19:42:32 +00:00
Nathan Gray
8a2b996021 Store url/dir query parameters in local var 2015-03-23 17:40:20 +00:00
Nathan Gray
e89d8e9e64 Make sure query doesn't get lost 2015-03-18 23:36:17 +00:00
Ralf Becker
157cfd84f8 fixed a couple more issues with session reusage when using sharing urls:
- to resolve sharing-path to url, we need to restore full mount-tab
- egw_vfs::clearstatcache() was not clearing resolve_url cache, causing previous share to be used
- need to set egw_info[user][vfs_user] after egw_session::create, as it overwrites it
2015-03-02 21:09:08 +00:00