Commit Graph

8734 Commits

Author SHA1 Message Date
Nathan Gray
1cc4a219ac Do not try to translate object properties 2016-03-17 20:29:17 +00:00
Ralf Becker
d49f8bc45f fix situation where multiple app.js objects are used, eg. InfoLog and CRM view in Addressbook:
- etemplate2 creates a private app object instead of using window.app with just prototypes, if template is not from current app
- fixed all cases where window.app was used to use just app, to use evtl. private object
- app_base no longer assigns itself to window.app (window.app[this.appname] = this), as that breaks private app objects
- et2_compileLegacyJS replaces app.appname with widget.getInstanceManager().app_obj.appname
- etemplate2 stores either private or global app object in app_obj attribute
2016-03-17 18:12:36 +00:00
Hadi Nategh
0cdcc975cb Mobile theme:
- Remove another position fixed
2016-03-14 15:57:17 +00:00
Ralf Becker
064a10c990 fix wrong namespace 2016-03-14 10:48:03 +00:00
Hadi Nategh
3ec1847b34 Mobile theme:
- Add popupMainDiv a class to be able to use the same styling for semi-popups
- Fix color for edit icon
- Try to use .popupMainDiv class instead of ID
2016-03-14 08:38:30 +00:00
Ralf Becker
c5523c649c remove 11.1 felamimail grid, unused since 14.1 2016-03-13 14:18:22 +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
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
Klaus Leithoff
0cfe6754e5 some italian translations provided via translation.stylite.de. Thanks. 2016-03-11 11:26:23 +00:00
Hadi Nategh
1b0427a182 Mobile theme:
- Do not add copy/paste actions for mobile contextmenu
2016-03-09 12:37:02 +00:00
Nathan Gray
e902c32d9f Avoid some processing while hidden - fixes placeholders on first load when the widget is hidden 2016-03-08 22:11:58 +00:00
Ralf Becker
564b2b0fd7 fixes and first successful tests with Ldap backend 2016-03-08 08:13:26 +00:00
Ralf Becker
0ba4283f9f move egw_link to Api\Link 2016-03-07 08:46:32 +00:00
Ralf Becker
2ccb5cd58d create old accounts object with deprecated methods for old apps using it 2016-03-06 21:15:55 +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
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