Commit Graph

8718 Commits

Author SHA1 Message Date
Ralf Becker
d407b9aae1 moved accounts classes to Api\Accounts 2016-03-06 15:54:07 +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
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
7aa3296cc5 move config to Api\Config 2016-03-05 10:22:40 +00:00
Nathan Gray
7b42308df2 Add "toggle" as an option for taglist multiple attribute 2016-03-04 15:36:05 +00:00
Ralf Becker
b540582c2b removing minified files again from svn and creating them automatic in our build and deployment scripts 2016-03-03 16:17:21 +00:00
Hadi Nategh
784aa2c82f Mobile theme W.I.P:
- Fix view mode loads with wrong context
- Fix mail view actions
2016-03-03 14:10:08 +00:00
Ralf Becker
c6a52a0b03 fix mail/js/app.min.js was not used and etemplate2.min.js included twice 2016-03-03 10:39:33 +00:00
Ralf Becker
b0f061ac5e fix not working minified css, caused by it not being recogniced as loaded and loaded again out of order 2016-03-03 09:23:45 +00:00
Ralf Becker
7d90bca111 fix fatal javascript error "egwIsMobile is not defined" in fw_browser.js, if minifying is disabled, by adding an explicit dependence to egw_action_common.js 2016-03-02 18:04:47 +00:00
Ralf Becker
ecb4b7e74a remove ckeditor from api bundle (it does not work, is already minified and uglify work a lot faster without) 2016-03-02 14:34:01 +00:00
Ralf Becker
0badf82d7b missing et2 and api min.js 2016-03-02 08:46:43 +00:00
Ralf Becker
f25070a9c2 - switching minifying of javascript to use Grunt and Uglify (instead of doing it on the fly with php on every host)
- generating now a couple of bundles: api, et2, mail, calendar, jdots, pixelegg and mobile
- developers need to update minified files whenever a javascript file changes: grunt uglify[:(api|et2|mail|calendar|jdots|pixelegg|mobile)]
- minified files also contains a map file allowing to debug with them
2016-03-01 20:45:31 +00:00
Ralf Becker
033c1f4a9f fixing scope of "use strict", so we do not need to remove it when concatinating our scripts like we do now with minjs 2016-02-29 15:50:24 +00:00
Ralf Becker
68374ff0a3 use svg image itself as thumbnail 2016-02-29 13:05:48 +00:00
Ralf Becker
86bf2fb2c0 add missing deprecated fro egw_exception_redirect 2016-02-29 08:41:32 +00:00
Ralf Becker
0db8e10784 fix typo Api\Exception\WrongUserInput 2016-02-29 08:38:59 +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
9bf4dd288e moved egw_cache to Api\Cache 2016-02-28 09:38:36 +00:00
Ralf Becker
1c8d6e7b03 show no more lines and left/down triangles instead of plus/minus in tree 2016-02-25 19:29:56 +00:00
Ralf Becker
254a365911 fix [Send] button to start with a capital letter in German translation too 2016-02-25 15:14:56 +00:00
Hadi Nategh
5467b3bdf4 Mobile theme W.I.P.:
- Activate SVGs in framework
2016-02-24 16:47:32 +00:00
Nathan Gray
5b10bde980 Trigger a resize to notify listeners of the change in size
Fixes sidebox calendar is too small after expanding sidebar
2016-02-24 16:16:21 +00:00
Ralf Becker
b65cafc07b no longer use old contacts class via egw object, but addressbook_bo directly, fixes diverse warnings caused by old class 2016-02-22 17:30:20 +00:00
Hadi Nategh
95648db5fc Mobile theme W.I.P.:
- Fix iOS 300ms delay on touch
2016-02-22 17:19:12 +00:00
Ralf Becker
21a79c502f fix egw_json::sendHeader() should not be called static warning 2016-02-22 16:13:14 +00:00
Hadi Nategh
848c7d71d2 Mobile theme W.I.P.:
- Fix error 500 happens when opening view template
- Implement better approach for specifying currentapp
2016-02-22 13:03:57 +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
3883dc24e4 fix IDE warnings and only allow to create new tables with utf8 2016-02-20 19:21:44 +00:00
Ralf Becker
651be2a4cf removing for some of our ADOdb patches 2016-02-20 18:16:21 +00:00
Ralf Becker
27fc9a48d2 async_data is NOT NULL, therefore we should not attempt to write a NULL, even if most MySQL servers dont complain 2016-02-20 15:17:12 +00:00
Ralf Becker
7c9f9a8eff remove in php70 deprecated php4 constructors 2016-02-19 08:54:53 +00:00
Hadi Nategh
2ff7313efc Mobile theme W.I.P.:
- Make pixelegg mobile theme separated from mobile fw theme
- Fix devices with high resolution don't work properly
2016-02-18 16:27:15 +00:00
Nathan Gray
ae79287e18 Get relative dates working again in export 2016-02-17 23:45:30 +00:00
Ralf Becker
61027429eb alignment of NM header 2016-02-17 19:56:54 +00:00
Ralf Becker
c2622dcd50 get mobil template to load its own css, falling back to pixelegg and default 2016-02-17 16:50:54 +00:00
Hadi Nategh
e06a8bc167 Mobile theme W.I.P.:
- Add some styling for searchbox
- Fix contextmenu is not coming on trees
- Add back handler for context menu in order to close it
2016-02-16 11:59:31 +00:00
Ralf Becker
aff27b4aaa removing deprecated PHP4 constructors filling logs with deprecation notices under PHP 7 2016-02-15 11:17:09 +00:00
Ralf Becker
b5aeadf265 remove Exception from function signature of egw_exception_handler and _egw_log_exception, as php 7 throws Error not inherited from Exception, but Throwable does not exist in php < 7.0 2016-02-14 17:54:14 +00:00
Ralf Becker
0a2b861af9 remove et2_button_text class from old eTemplate buttons, as it only caused unnecessary left-padding of buttons without image 2016-02-14 16:21:07 +00:00
Klaus Leithoff
55b88bc859 remove egw_idna and its implementation, as it is replaced by Horde_Idna 2016-02-11 12:17:02 +00:00
Ralf Becker
45a2de974b renamed to "CalDAV / CardDAV sync" removing ancient GroupDAV protocol from app-name 2016-02-11 10:26:27 +00:00
Hadi Nategh
63b3009bb5 Implement category color column purely with css 2016-02-10 09:45:33 +00:00
Klaus Leithoff
c45600b256 fix rare problem encountered when setting egroupware test job: first char of emailaddress (job-data) was replaced by the number 1 2016-02-09 11:11:13 +00:00
Hadi Nategh
9c64c3b708 Mobile theme W.I.P.:
- Fix triggering contextmenu
2016-02-08 10:48:12 +00:00
Ralf Becker
845d7d20a7 * ActiveDirectory: fixed user who never changed his password get forced to change his password
pwdlastset attributes seems not set, if password was never changed, different from 0 value for forced password change
2016-02-05 14:02:00 +00:00
Nathan Gray
62eb8e00f2 Add support for global json handlers, and register a global handler for storing data entries 2016-02-04 19:26:37 +00:00
Hadi Nategh
d2a416baae Mobile theme W.I.P.:
- Load edit.xet if there's no view template available
- Remove email,phone, link icons from AB edit
2016-02-04 17:25:52 +00:00
Hadi Nategh
cb61fa7d4e Mobile theme W.I.P.:
- Fix couple of issues regarding iOS and Safari
- Fix not fullscreen view mode
2016-02-04 16:31:34 +00:00
Hadi Nategh
76a7b3ce48 Mobile theme W.I.P.:
- Do not destroy the view on open edit
2016-02-04 08:42:05 +00:00
Hadi Nategh
4c22eeb77e Mobile theme W.I.P.:
- Implement hideOnMobile option for action system in order to be able to disable specific action in mobile
2016-02-03 13:12:37 +00:00
Klaus Leithoff
cf54b25ca2 attempt to improve html2text conversion 2016-02-02 12:57:21 +00:00
Hadi Nategh
0380239cad Mobile theme W.I.P.:
- Fix view mode header
- Style AB view dialog
2016-02-02 10:26:13 +00:00
Hadi Nategh
0c11eaf2f1 Mobile theme W.I.P.:
- Implement view template
- Implement view template loader
- Add infolog edit
- Fix couple of bug in AB edit and index
2016-02-01 18:09:15 +00:00
Ralf Becker
b137f4710c remove old network class from Trunk/16.1 2016-02-01 12:50:34 +00:00
Hadi Nategh
46445d08fd 1px brighter theme W.I.P. 2016-01-28 18:17:40 +00:00
Ralf Becker
c982167602 * ActiveDirectory: fix creation of groups without description or removing of description of an existing group 2016-01-26 13:29:30 +00:00
Nathan Gray
b6b2094643 Make sure x & y are still defined.
Avoids FF issue of tooltip in top left corner if source widget disappears before the timeout fires.
2016-01-25 20:04:16 +00:00
Hadi Nategh
4eefabc256 Fix styling for buttons with image and text in old etemplate 2016-01-25 09:43:14 +00:00
Nathan Gray
30d02fc5f0 Slightly increase specificity for higher precedence, allowing default colors if the category has no color 2016-01-19 21:50:13 +00:00
Nathan Gray
915e0ab268 Cache responses when resolving a single group also 2016-01-15 16:57:42 +00:00
Klaus Leithoff
08287dd1ce on activate_links, use preg_replace_callback as we experienced problems with https links when rebuilding links 2016-01-12 11:22:20 +00:00
Hadi Nategh
536c32d8f8 Apply Stefan Werfling's patch which add additional parameter to search_link called file_dir for sub-apps 2016-01-11 10:32:31 +00:00
Klaus Leithoff
8b3e9bd0c4 attempt to improve activate_links; do not break lines with hrefs when word-wrapping; do not use strip_tags on plain messages when using get_mailcontent (mostly used by app-integration) as it eats away too much content. we use convertHTML2text now 2016-01-08 15:05:04 +00:00
Hadi Nategh
8e455d873b Do not allow to resize sidebox more than screen width 2016-01-07 09:16:59 +00:00
Nathan Gray
82f147f4fe Avoid error if title_queue is not defined yet 2016-01-07 00:49:59 +00:00
Nathan Gray
ec8c22c93b Avoid error if title_queue is not defined yet 2016-01-06 20:33:38 +00:00
Hadi Nategh
e5996336e6 * Mail: Fix compose dialog goes under window's taskbar and attahcments are not visible 2015-12-18 13:14:09 +00:00
Hadi Nategh
c37554a3c9 Make sure d-n-d does not get triggered via double click action 2015-12-16 15:40:17 +00:00
Nathan Gray
7d97e70893 Remove visible &nbsp 2015-12-15 20:17:08 +00:00
Ralf Becker
688cc2a76d fix XSS tests to not fail something starting like a forbidden html tag, eg. "<mathias@stylite.de>" 2015-12-14 09:29:52 +00:00
Nathan Gray
d9b43423a7 Fix some incorrect responses for account list:
- owngroups included members
- groupmembers was empty
2015-12-09 18:55:57 +00:00
Hadi Nategh
3be2bbd786 W.I.P. of a general method for calling loading prompt
- Define an id for each loading prompt
- Implement new style for loading prompt
2015-12-07 09:08:09 +00:00
Nathan Gray
ebb669dccf When deleting acl for an account, remove grants to the account as well 2015-12-04 20:30:09 +00:00
Hadi Nategh
161f37858d W.I.P. of a general method for calling loading prompt 2015-12-03 17:12:08 +00:00
Hadi Nategh
10e2554100 * All applications/ Tutorials: Fix discarding tutorials prompt not working if the configuration is set to sidebox 2015-12-03 13:04:33 +00:00
Hadi Nategh
51a4da3204 Escape html entities for mailto URI otherwise server wont let them pass through as it may get mistaken for html tag
- Fix addressbook email action does not work for some emails, eg. Mathias <Mathias@example.com>
2015-12-03 11:07:03 +00:00
Nathan Gray
e56ff68a61 - Make sure we always use index's nextmatch
- Add some documentation about the this.et2 variable
2015-12-02 18:42:55 +00:00
Nathan Gray
5343a4eae3 Fix admin so it will reload the page it was opened with instead of changing to user list, or doing nothing. 2015-12-02 18:05:25 +00:00
Nathan Gray
e02202982f Re-implement get_message_id() to check cache too.
Fixes(?) troubles with using default import definitions with languages other than english.
2015-11-30 22:59:26 +00:00
Hadi Nategh
2c5b1de5b5 Do not notify tabs on framework initialization
- Fix reloading framework closes opened tabs
2015-11-19 16:33:39 +00:00
Nathan Gray
fbb6f817b1 Fix file comments and link comments were disconnected. 2015-11-17 22:17:00 +00:00
Nathan Gray
296d39a83a Fix missing username in AJAX retrieval of account name 2015-11-17 18:25:58 +00:00
Hadi Nategh
676a576dbc Fix ckeditor shows spellchecker button even if the config is set to "only browser spellchecker -- more safe". 2015-11-17 17:15:07 +00:00
Nathan Gray
48d779a337 When getting account data via AJAX, make sure account name is in user's preferred format. 2015-11-16 17:32:37 +00:00
Hadi Nategh
7c944b5aeb Mobile theme W.I.P.:
- Sidebar acts based on device size
- Remove portrait top header (sidebar toggle menu will be positioned next to nm header)
- Remove collapsed sidebar application navigator, only for devices
2015-11-16 15:45:04 +00:00
Ralf Becker
ae72f4d481 * Calendar/CalDAV: allow to download whole calendar as one big iCal file using "https://$user:$passwd@domain.com/egroupware/groupdav.php/$user/calendar/?download" 2015-11-13 15:23:36 +00:00
Ralf Becker
67df38ddbf set our default "utf-8" charset when opening db-connection, as some setup code, does not use egw-object and fail if php defaults to a different one 2015-11-13 12:47:17 +00:00
Ralf Becker
20fe326cd5 allow to disable use of RFC3676 flowed lines in plain text mails, as some clients have trouble to detect correct charset 2015-11-11 15:00:36 +00:00
Ralf Becker
6a7c98a2e1 need to set Transfer-Encoding used by base-part, it always seems to be "quoted-printable" 2015-11-11 14:25:19 +00:00
Ralf Becker
6969120d8b z-push requires text-parts to be in utf-8, not eg. iso-8859-1 2015-11-11 12:25:43 +00:00
Ralf Becker
5e347fb85b Change egw_sqlfs_props.prop_value back to utf-8/varchar, as it can contain user content eg. our comments, replace non-ascii chars in contact_pubkey, before converting to ascii 2015-11-10 11:17:21 +00:00
Ralf Becker
80265b28ef stop permanent error_log 2015-11-09 23:52:47 +00:00
Ralf Becker
51c4c6d4e6 allow setting a prefix 2015-11-07 17:30:21 +00:00