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
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
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
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
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
Hadi Nategh
5467b3bdf4
Mobile theme W.I.P.:
...
- Activate SVGs in framework
2016-02-24 16:47:32 +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
Ralf Becker
21a79c502f
fix egw_json::sendHeader() should not be called static warning
2016-02-22 16:13:14 +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
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
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
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
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
Klaus Leithoff
cf54b25ca2
attempt to improve html2text conversion
2016-02-02 12:57:21 +00:00
Ralf Becker
b137f4710c
remove old network class from Trunk/16.1
2016-02-01 12:50:34 +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
Hadi Nategh
4eefabc256
Fix styling for buttons with image and text in old etemplate
2016-01-25 09:43:14 +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
Nathan Gray
7d97e70893
Remove visible  
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
Nathan Gray
ebb669dccf
When deleting acl for an account, remove grants to the account as well
2015-12-04 20:30:09 +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
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
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
Ralf Becker
5edb09cef6
new memcached caching provider using newer memcached PHP extension allowing shorter timeouts then 1sec
2015-11-07 15:59:20 +00:00
Ralf Becker
b0de2d57a6
cache version number parsed from changelog for 5min on tree level
2015-11-05 14:18:17 +00:00
Ralf Becker
b94e7be8df
only return CKEditor skins existing in filesystem
2015-11-05 12:07:10 +00:00
Hadi Nategh
3dc87c4574
* All apps/Tutorials:
...
- Add two more options in admin's site configuration to be able to switch tutorials in sidebox and/or "ask show introduction dialog" on/off
- Add some translation
2015-11-03 16:15:56 +00:00
Ralf Becker
3d6da043fa
changing php-versions for Trunk/next release: required: 5.4, recommended: 5.6
2015-11-02 17:13:27 +00:00
Ralf Becker
979a910e7f
register home hooks if tutorial_menu hook is not registered eg. on call of intro video, moved hook to tutorial class
2015-10-28 08:36:37 +00:00
Ralf Becker
b01ac97b7e
* Timesheet/Tracker: date filters like "last week" where not aware of daylight saving time changes
2015-10-27 10:27:09 +00:00
Ralf Becker
d8255179d8
detecting MS Edge as html::$user_agent="edge" and html::$ua_version="12.*", even if some report only "Mozilla/5.0 (Windows NT 10.0; Win64; x64)"
2015-10-26 21:43:08 +00:00
Klaus Leithoff
23fdf1c46e
* Mail/API: some servers do report capabilities that they do not fully support; thus relying on those results in failure; use hordes capability_ignore to avoid the problems;map charset ks_c_5601-1987 to CP949 as the former is not supported by php(s) conversion functions and should be mapped to the latter
2015-10-22 11:15:26 +00:00
Ralf Becker
804d558e68
fixing the fix ;-)
2015-10-21 14:36:18 +00:00
Ralf Becker
2f5b40d2d9
fix PHP Fatal on sending with an alternativ body and create multipart/alternativ ourself, if setAlterantivBody() was called
2015-10-21 13:10:22 +00:00
Hadi Nategh
9a4ba7b781
* Etemplate: Fix issue expose view gets opened for not supported mime-type (eg. image/pdf)
2015-10-20 16:22:08 +00:00
Nathan Gray
d3530c4899
Cachebuster for category CSS
2015-10-19 22:26:09 +00:00
Ralf Becker
2ce94499c0
* Calendar/Mail: send meeting requests including html body like current Exchange server does it
2015-10-19 19:48:52 +00:00
Hadi Nategh
938c991124
WIP Egroupware tutorial:
...
- Create tutorial sidebox hooks automatically
- Fix some styling for popup
- Display intro video show confirmation dialog based on session (login/logout)
2015-10-19 15:00:42 +00:00
Ralf Becker
f652853c7a
allow client-side to detect first load aka just logged in
2015-10-19 10:26:00 +00:00
Ralf Becker
da4ffc2a0c
* Mail/Wiki/Sitemgr: reworked XSS tests to allow eg. font-names containing "script" and other patterns forbidden by previous test, also added new html5 specific tests
2015-10-16 19:01:56 +00:00
Nathan Gray
8b42f6aeb8
Load all category CSS once when loading the application to avoid missing category colors.
2015-10-15 17:28:56 +00:00
Klaus Leithoff
412414c1a5
filter script keyword from face specifications, as our _check_script_tag will not allow that anyway
2015-10-15 08:35:35 +00:00
Hadi Nategh
04a8cd4f60
WIP EGroupware Tutorial:
...
- Implement video navigation on popup
- Implement introduction video with user confirmation dialog based on session
- New layout for tutorials list both in sidebar and popup
- Separate tutorials styles to be able to set different styles base on templates
2015-10-14 14:17:09 +00:00
Ralf Becker
887cd00c4c
allow to use alternate location name "hook_location", if app needs original name "location", like eg. calendar
2015-10-13 07:08:10 +00:00
Ralf Becker
9f1b92aa1d
fix due to caching and reusing of connection not correctly set $this->Type == "mysql"
2015-10-12 18:34:47 +00:00
Ralf Becker
1971186597
special handling for $_POST[json_data] in _check_script_tag, to decend into its decoded content, fixing json direct might break json syntax
2015-10-12 13:26:34 +00:00
Ralf Becker
9da4924f00
allow to overide egw_server_root used as key in egw_cache for tree- AND instance-level
2015-10-10 10:33:35 +00:00
Hadi Nategh
a378d19d2a
Some fixes for custom app-theme css:
...
- Make sure including css on ajax response respect app-theme
- Include app-theme for home portlets
2015-10-09 11:46:45 +00:00
Hadi Nategh
52a3e2240c
WIP EGroupware Tutorial:
...
- Add disable option in admin site configuration in order to be able to switch off the tutorials menu in sideboxes
2015-10-09 07:42:13 +00:00
Ralf Becker
51b60c5df6
no longer store ADOdb object in session, also ensures reevaluating environment-data or multiple hosts in connection-data
2015-10-07 19:33:22 +00:00
Ralf Becker
50ed21bd7e
fixed typo (wrong case) causing default DB capabilities to be returned and eg. giving an sql error when searching under MySQL in addressbook
2015-10-07 05:29:49 +00:00
Ralf Becker
a269120683
move @/enviroment support from class-variables to local ones, to re-evaluate them on each request, class vars are stored in session
2015-10-06 19:57:52 +00:00
Ralf Becker
1e54cfb117
use same egw_exception_db_connection instead of die, if no DB host set, so it can be cought
2015-10-06 16:59:54 +00:00
Ralf Becker
f724e47b2d
cant use @-syntax with passwords, as they can start with an @
2015-10-06 13:11:05 +00:00
Ralf Becker
047105fb41
allow to read db-config from environment, by using "@name" to reference to name from environment
2015-10-05 18:58:55 +00:00
Nathan Gray
060cf6073a
Fix links to accounts (home-accounts) would not open properly when you click on them
2015-10-05 15:45:44 +00:00
Ralf Becker
816c9c0a96
* Calendar/Mail: fix edit action meeting-requests to NOT set content-disposition: attachment, as this seems to stop automatic processing in Exchange
2015-10-05 13:15:17 +00:00
Ralf Becker
cb5d0bd419
need to use our own readlink
2015-09-30 06:24:53 +00:00
Ralf Becker
c6ad6d2caa
allow to reuse managed-id of existing attachment in PUT request by symlinking it, return correct xml-error for invalid mananaged-id
2015-09-30 03:27:29 +00:00
Ralf Becker
afa106cbf3
fix CalDAVTester failure: managed-attachments: Simple non-recurring, non-scheduled update attachment: Test 4: rename of attachment via Content-Disposition:filename=
2015-09-29 12:27:49 +00:00
Ralf Becker
b34cbded3a
multiple fixes around managed attachments and new Horde_Icalendar:
...
- no longer decodes base64 automatic
- size param have to be string due to bug in handling of integers in Horde_Icalendar
- allow stripping of non-binary (eg. text/plain) inline attachments
- only add X-EGROUPWARE-ATTACH-INCLUDED, if we have a real managed attachment
- store external / url attachments as other unsupported attributes
2015-09-29 07:37:15 +00:00
Ralf Becker
b49a967cf1
we can NOT use 204 No content (forbidds a body) with return=representation, therefore we need to use 200 Ok instead
2015-09-28 13:15:36 +00:00
Hadi Nategh
7a4a5ac076
WIP EGroupware tutorial:
...
- Add css class to egw_tutorial div container
2015-09-28 12:25:56 +00:00
Hadi Nategh
3bc2e1077c
WIP EGroupware tutorial:
...
- Implement a hook for application specific video tutorials
- Allow iframe widget to cooperate with fullscreen video play mode
2015-09-25 15:18:35 +00:00
Klaus Leithoff
397d5a6d36
fix problem with possible json_encode problem (removing all initial data from mailbody) on reply/forward
2015-09-24 10:06:22 +00:00
Ralf Becker
0f0728316d
support themes on application level: $app/templates/$template/app-$theme.css
2015-09-18 15:53:20 +00:00
Ralf Becker
3b596f061e
UCS lowercases email when storing
2015-09-18 07:18:58 +00:00
Klaus Leithoff
4f728727af
silence warning
2015-09-15 11:30:05 +00:00
Ralf Becker
ff036416bf
fix commented out reuse of already instanciated provider, and fix PHP Notice in memcache provider
2015-09-14 13:48:58 +00:00
Ralf Becker
342b717a04
allow to add all sorts of attachments as stream not just as strings
2015-09-11 08:39:00 +00:00
Ralf Becker
16c5e2deec
* LDAP: fix not working connect under newer PHP 5.6 (maybe other versions too) with PHP Warning: invalid port number: 0
2015-09-08 13:07:35 +00:00
Ralf Becker
ca9aa01250
new egw_cache::addCache method which fails if key already exists in cache, allowing eg. to implement a mutex
2015-09-07 13:04:35 +00:00
Ralf Becker
8ae381e11e
values for depth are 0, 1, "infinit" or not set which has to be interpreted as "infinit"
2015-09-03 06:54:06 +00:00
Ralf Becker
559d0ee15c
do not show warning of force Depth: 0, if depth is already 0
2015-09-02 13:38:36 +00:00