nathangray
8d7a9b7284
Move VFS widget file handling from Etemplate/Widget/Customfields to Storage/Customfields, to avoid errors with CalDAV/CardDAV not being able to find Etemplate/Widget/Customfields
2017-04-17 09:48:45 -06:00
nathangray
944718daaa
Some more tests of basic Etemplate stuff
2017-04-17 08:30:24 -06:00
nathangray
bcd86f7ae9
Fix bug where some elements would not be returned if a child of a later sibling was the same type
2017-04-17 08:30:24 -06:00
Ralf Becker
caad687406
allow to filter by multiple account_id/uidNumber
2017-04-13 12:54:19 +02:00
Hadi Nategh
df998bab26
W.I.P. smime support:
...
- Make sure recipients addresses are not in RFC822 format
2017-04-11 17:29:44 +02:00
Hadi Nategh
1a63b5681d
W.I.P. smime support:
...
- Fix stdClass not exist
2017-04-11 15:29:31 +02:00
Hadi Nategh
fff5543d3d
W.I.P. smime support:
...
- Override verify method, in order to extract content
2017-04-11 14:24:22 +02:00
nathangray
d5c24a2c8e
Thumbnails (and handling) of uploaded files on new entries that have not yet been saved
2017-04-10 10:39:04 -06:00
nathangray
ee62801ace
W.I.P. Some more Etemplate testing stuff
2017-04-10 08:12:17 -06:00
Ralf Becker
e817e59fb8
* LDAP: fix fatal error in minimal install
2017-04-07 18:50:38 +02:00
Ralf Becker
8d5d178869
fix exception stalling new installations
2017-04-06 16:50:37 +02:00
Ralf Becker
fcf50f1bc0
fix last commit by storing db attribute as wakeup order wakes up acl before parent
2017-04-06 13:45:47 +02:00
Ralf Becker
6c97df764c
do NOT store Acl data in session, as it can be quite huge
2017-04-06 09:47:52 +02:00
nathangray
6f13a9caa9
Test some core Widget functions
2017-04-05 10:10:08 -06:00
Ralf Becker
c0e1f3ac67
always need to translate app-title, as users might use different languages
2017-04-05 10:18:09 +02:00
Ralf Becker
96413c1096
fix no translations loaded, by keeping just that pref in the session, as it is used before rest of prefs get restored
2017-04-05 10:02:41 +02:00
nathangray
d690c7d9d3
Use a constant for birthday cache time
2017-04-04 12:10:09 -06:00
Ralf Becker
2adeddce8d
do NOT store user preferences and apps in session, we restore them from instance cache
2017-04-04 19:13:43 +02:00
nathangray
99595ba1cf
Moce calendar birthday stuff into contacts, expire the birthday cache if birthdays change
2017-04-04 10:58:46 -06:00
nathangray
319d217a3e
Some test adjustments to make things a little smoother, and prepare for some widget tests
2017-04-04 10:31:30 -06:00
Ralf Becker
dfbd0d2e6f
do NOT store actions in session or eT2 request, nor send for mobile devices skiped actions
2017-04-04 16:54:36 +02:00
Hadi Nategh
786ad5b71b
Implement a new option for sidebox menu, called sendToBottom, in order to be able to sort a specific item at the bottom of the sidebox menu
2017-04-04 16:51:41 +02:00
Ralf Becker
4f9e14fcc6
never storing rows in Etemplate\Request and by that keeping apps from storing it as state into the session
2017-04-04 15:04:44 +02:00
Ralf Becker
76087e2cb7
* Api: keep session small / quick to load by limiting number of cached link-titles
2017-04-04 09:58:57 +02:00
nathangray
8cfb2c997f
Silence error_log, hopefully fix wrong row count
2017-03-23 11:34:35 -06:00
nathangray
d92de5501d
Addressbook - limit previous / next event to the previous / next 2 years, instead of all time
...
Gives slightly faster performace and reduces memory useage.
2017-03-23 09:09:05 -06:00
nathangray
6551a71b41
Addressbook - Fix filtering by addressbook in duplicates view.
2017-03-22 14:23:05 -06:00
nathangray
d5386625d5
Addressbook - Duplicate view - Fix a bug with types, add some debug to help with long queries.
2017-03-17 10:01:23 -06:00
nathangray
c65c081585
Fix searching in duplicate contact list
2017-03-16 11:06:58 -06:00
nathangray
71de64fe8f
Break out parsing search into its own function
2017-03-16 10:54:27 -06:00
nathangray
56d9424c1d
Fix duplicate contact view to make sense if you have more than 3 matching rows
2017-03-16 10:53:53 -06:00
Hadi Nategh
0f84e305a2
Remove not necessary error_log
2017-03-15 18:00:14 +01:00
Hadi Nategh
2b0fecd8bd
Return form including etemplate-data if the output_mode is set to 1
2017-03-15 16:55:24 +01:00
nathangray
23bf37b98e
* Addressbook - new view to show duplicate contacts
2017-03-13 12:11:53 -06:00
Ralf Becker
bb5a845600
our error_handler did not allow to supporess just warnings
...
eg. by using: error_reporting(error_reporting()&~E_WARNING);
2017-03-13 16:41:12 +01:00
Ralf Becker
211e60b45d
fix through proxying not matching webserver_url using X-Forwared-Host header
2017-03-10 22:04:15 +01:00
Ralf Becker
78880b5238
missing commit for readonly db stuff
2017-03-09 20:17:50 +01:00
Hadi Nategh
66315db75a
WIP SMIME suport:
...
- Integrate smime encryption inti mailer class
2017-03-09 17:33:46 +01:00
Ralf Becker
6221e69229
fix regexp to only match beginning of string
2017-03-09 16:42:50 +01:00
Ralf Becker
23ac04df8d
allow to switch whole database readonly, via setting "db_readonly" => true in header.inc.php
2017-03-09 12:08:00 +01:00
nathangray
78c5f31ff5
* Addressbook - When viewing a user account's calendar or next/previous dates, use the account calendar over the contact calendar
2017-03-08 09:53:52 -07:00
Ralf Becker
1c80a22413
added (commented out) code to enable IMAP log for a single user
2017-03-08 10:33:00 +01:00
nathangray
0f83206907
* All apps - Add special search case for #<int> to only match the ID, not search the whole entry
2017-03-07 12:24:42 -07:00
nathangray
5926c5e7be
Allow docm and xlsm merge templates
2017-03-07 12:08:01 -07:00
Hadi Nategh
3209484d31
Cover more events on XSS regexp and avoid confusion between legitimate words with beginning of "on" and on[Events]
2017-03-06 19:12:56 +01:00
Ralf Becker
acfcd24983
fix not updated logout time on new farm
2017-03-01 13:36:42 +01:00
Ralf Becker
832276f969
give quota-limit from SMTP/SQL precedence over (cached) quota from Dovecot
2017-02-28 18:39:55 +01:00
Ralf Becker
c9822e3023
Merge pull request #8 from filkaris/mail_account_bug
...
If Mail Account has empty password, it's still regarded as imap
2017-02-28 14:04:19 +01:00
A Sigalas
11b2eff8c5
Host always needed, not imap if username & pass missing
2017-02-28 12:55:04 +00:00
A Sigalas
b4e29edaea
If Mail Account has empty password, it's still regarded as imap
2017-02-28 12:40:14 +00:00
Ralf Becker
282c0bc90f
method to disable a hook for the current request
2017-02-28 13:27:48 +01:00
Ralf Becker
80cb358d88
fix use of old accounts_sql class, only existing if old phpgwapi is installed
2017-02-28 10:14:38 +01:00
Ralf Becker
38b0dd0dd0
fix PHP Deprecated: Non-static method EGroupware\Api\Vfs\Sqlfs\StreamWrapper::url_stat() should not be called statically
2017-02-27 20:39:46 +01:00
Ralf Becker
d6590cbf64
fix PHP Fatal, if debug is enabled
2017-02-27 17:31:08 +01:00
nathangray
6dd3f4838f
Keep any notification errors
2017-02-27 08:10:48 -07:00
Hadi Nategh
738a1acd0e
Revert Htmlawed option comment back into value 1
2017-02-27 13:33:24 +01:00
Ralf Becker
f55d36cc50
improve waterfall by releasing session
2017-02-25 15:18:21 +01:00
Hadi Nategh
8f24e0dfec
* Mail: fix memory exhaustion caused by e-mails with long string set on DATE field
2017-02-23 15:44:23 +01:00
nathangray
4d0419f5b4
Allow <p> tag to enable HTML parsing as well as <br> and <span>, fixes using p for line breaks and no other formatting resulted in unparsed HTML when merging.
2017-02-17 08:56:37 -07:00
Hadi Nategh
eed277fc9e
WIP of modern login page:
...
- Do not break account's recovery link into second line
2017-02-10 16:33:29 +01:00
Hadi Nategh
1d69265b9c
WIP of modern login page:
...
- Fix logo size
- Implement customizable background image
- Set different logo for login
2017-02-10 15:55:30 +01:00
Hadi Nategh
508d0aa920
Try to match placeholder NENVLF with its described example
2017-02-10 10:41:43 +01:00
Hadi Nategh
83a6595d26
Handle NELF placeholder for mimetype text/html
2017-02-09 15:03:09 +01:00
nathangray
bbdd1e77c9
Skip failing false positive for PHP < 7
2017-02-08 12:32:07 -07:00
nathangray
342230ef08
Fix typo in function name
2017-02-08 12:32:07 -07:00
nathangray
d83a929254
Get tests to not fail if DB is missing - we skip the ones that need a DB
2017-02-07 16:02:06 -07:00
nathangray
eeecc2eecd
Add PHPUnit tests for security, based on Ralf's previous command line tests
2017-02-07 12:28:35 -07:00
nathangray
888c9028cb
Define idx_data outside of the loop, since it's used later
...
(Thanks Scrutinizer)
2017-02-07 09:42:10 -07:00
nathangray
1338add5fb
Add PHPUnit tests for Schema, based on Ralf's previous command line tests
2017-02-07 09:19:30 -07:00
nathangray
16f649322f
Add some sanity checks on egw session / GLOBALS before we start testing, makes it easier to figure out where things went wrong.
2017-02-07 09:19:30 -07:00
nathangray
b2ec0e9aa6
Move IncludeMgr tests into their own test class,
...
originals left there since they look useful.
2017-02-07 09:19:30 -07:00
nathangray
e0c7ddd0cb
Make stored usertime protected instead of private
2017-02-06 13:27:30 -07:00
nathangray
4d6ba96115
Move commented-out DateTime tests into their own class
2017-02-06 13:08:05 -07:00
nathangray
502caf4703
Split application specific test stuff and the Egw session stuff
2017-02-06 13:08:05 -07:00
Ralf Becker
2b45b52477
fix warning about static use of Accounts::is_(active|expried) by making it static and throw a WrongParameterException, if is_expired is called with no parameter
2017-02-06 10:38:01 +01:00
Ralf Becker
250cbb5704
* Addressbook: only add groups as distribution lists, if accounts addressbook is not hidden
2017-02-06 09:21:50 +01:00
Hadi Nategh
ce9a36ddf9
WIP of smime sing and encrypt message
2017-02-03 12:33:49 +01:00
nathangray
efe0d62df7
Add method to mock the tracking object to ease reuse
2017-02-02 08:45:58 -07:00
Ralf Becker
ba8b1c403e
use cryptographically secure random_int available in PHP 7+ when generating default passwords
2017-02-02 15:45:32 +01:00
Ralf Becker
be32282214
maintain an maintenance_release version in api/setup/setup.inc.php, also move update-checker images to api
2017-02-02 10:38:13 +01:00
Ralf Becker
70c0a26307
* Mail/Admin: fix setting ACL or vaction notice from Admin app, if IMAP auth uses email address from account
2017-01-31 18:01:49 +01:00
nathangray
71ffd661ac
Make sure to always call typeOptions() with a string
...
(to satisfy Scrutenizer)
2017-01-31 08:41:22 -07:00
Ralf Becker
7ce511cfc1
fix json_php_unserialize to return false for not serialized content, as unserialize does and in contray to json_decode which returns null in that case
...
--> fixes SiteMgr no longer shows html blocks containing unserialized content
2017-01-31 11:16:51 +01:00
Ralf Becker
5bf8630620
allow to additionally use just a name for which content array contains a path to upload pictures
2017-01-31 10:16:16 +01:00
nathangray
4edc398286
Fix a missed change of Stylite -> EGroupware
2017-01-30 09:27:33 -07:00
nathangray
76cc4d6f5c
Fix a missed change of Stylite -> EGroupware
2017-01-30 09:18:33 -07:00
Ralf Becker
388bffc48b
* All apps: fix random failure in drag-n-drop or pasting images into CKEditor eg. mail compose
2017-01-27 17:38:08 +01:00
Ralf Becker
7f8b81f45b
* Admin: fix bulk password reset to pick only passwords having required strength
2017-01-27 14:27:58 +01:00
Hadi Nategh
2d8b8fc5dc
WIP of SMIME support: First attempt to decrypt a smime encrypted message
2017-01-26 17:45:07 +01:00
Hadi Nategh
572ae1d77e
WIP of SMIME support: Add method to extract certificate's info from pkcs12
2017-01-25 18:04:54 +01:00
Hadi Nategh
efbb02b1b7
WIP of SMIME support: implement smime type storage
2017-01-25 18:03:35 +01:00
Ralf Becker
75a83fa35c
allow to store (user specific) s/mime private keys in mail account
2017-01-25 11:40:05 +01:00
Ralf Becker
45114cd2b8
fix PHP fatal on call to Api\Html::progressbar caused by no longer existing static property $netscape4
2017-01-24 10:59:52 +01:00
Hadi Nategh
2b99050d99
W.I.P of SMIME support for mail application:
...
- Add a method for extracting public-key from a certificate
2017-01-23 16:19:46 +01:00
Ralf Becker
da58ef5769
* Filemanager/PostgreSQL: shared files were not cleaned up after expiring of 100 days not accessed under PostgreSQL
2017-01-23 15:23:11 +01:00
Ralf Becker
f8a3bd8e34
fix typo causing filtering by group-distribution-list to fail
2017-01-23 11:27:44 +01:00
Ralf Becker
bb7fb1abf8
* Addressbook/Mail: allow to use groups as (readonly) distribution lists
2017-01-23 11:17:02 +01:00
nathangray
74c48e0592
Custom fields can be at the start of the content
2017-01-19 10:53:53 -07:00
nathangray
6ed24454f9
Allow expansion of custom fields when merging to include fields from other apps
...
eg: {{#other_app/#addressbook_cf/n_fn}}
2017-01-19 10:53:53 -07:00
Hadi Nategh
a3562129b0
W.I.P of SMIME support for mail application:
...
- Resolve smime p7b attachment and translate it to PEM format
- Assign a button to show the message is signed plus handler for showing the certificate
- Fix Smime class to only use php openssl extension
2017-01-19 18:52:44 +01:00
nathangray
845a1ec3e7
Added a checkbox for 'save as infolog' when merging multiple contacts into an email document.
2017-01-19 09:36:38 -07:00
Hadi Nategh
e992b9991d
W.I.P of SMIME support for mail application
2017-01-18 19:03:29 +01:00
nathangray
f8be81e17f
Clear instance singleton on destruct
...
Allows for unit testing
2017-01-11 15:46:12 -07:00
nathangray
5e13b8dfda
- Some nicer messages when things go wrong
...
- Reset account backend after test
2017-01-11 15:41:53 -07:00
Hadi Nategh
1eff570926
Consider whitespaces when trying to translate <, >, <= and >= signs in HTML:
...
- Fix some mails get cut off after switching to plain-text mode
2017-01-09 16:57:30 +01:00
nathangray
775ef84867
Fix namespace
2017-01-06 11:21:38 -07:00
nathangray
b439bb2b5c
- Re-initialize Config on each start, since it doesn't happen normally
...
- Better error message for if login fails
2017-01-06 10:39:16 -07:00
nathangray
f8b57077fb
A start on some automatic testing for apps
...
- use 'phpunit -c doc/phpunit.xml' to run tests
- extend api/src/test/AppTest.php to write application tests
2017-01-06 10:39:16 -07:00
Hadi Nategh
c7089cadd9
Revert unintentional changes to mrconfig and ContentSecurityPolicy from commitacdf079fb180490d8659fad0f4c20dd74ea78503
2017-01-05 15:04:53 +01:00
Hadi Nategh
acdf079fb1
* Etemplate: Fix error "Etemplate\Api\Auth not found" happening while to login
2017-01-05 14:59:20 +01:00
Ralf Becker
dc84982a55
* CalDAV/CardDAV: send unchange REALM for "bad login or password" to allow storing credentials
2017-01-04 10:18:34 +11:00
Hadi Nategh
2d1bb1ecc3
Another patch to previous commit in order to cover empty space
2016-12-12 10:20:46 +01:00
Hadi Nategh
760bd4106f
* Mail: Fix accounts selectbox in compose dialog does not include email addresses. Additionally, let local accounts without '@' get explicitly displayed in accounts selectbox.
2016-12-12 09:35:52 +01:00
Ralf Becker
d4a64babbd
fix PHP 5.4 Fatal error: Can't use function return value in write context
2016-12-08 16:22:54 +01:00
Hadi Nategh
23aea3864c
Keep allowExternalIMGs preference intact and use an explicit preference for allowed domains
2016-12-02 10:09:56 +01:00
Hadi Nategh
6ed3b92298
Work in progress of mail external image handler:
...
- Fix styling
- Add handler for mobile and display
2016-11-24 14:35:54 +01:00
Hadi Nategh
5fb70c77ab
Work in progress of mail external image handler
2016-11-23 18:52:43 +01:00
Ralf Becker
6d472b1592
use openssl_random_pseudo_bytes, if available, to generate etemplate_exec_id, as it is used for CSRF protection too
2016-11-17 11:09:30 +01:00
nathangray
a15aa412e2
Attempt to fix redirects to invalid /index.php
2016-11-16 09:20:03 -07:00
Ralf Becker
6a31d2462a
fix identities from aliases or imap-user without @ shown with empty label, if name is empty
2016-11-14 13:43:05 +01:00
Ralf Becker
b38542439a
if webserver_url does not match eg. because of proxying, fix it
2016-11-14 13:43:05 +01:00
Klaus Leithoff
e9155a000b
* Mail/Z-Push: handle charset-problem on sending mails with added EGW-Signature
2016-11-10 12:50:51 +00:00
nathangray
8ecc188fd7
Customfields required bugs
...
- Load attributes from modifications array, were previously ignored
- Remove double required check, actual field widget should handle it
2016-11-07 09:22:33 -07:00
Ralf Becker
c20ee5575d
allow to use Api\Contacts::search() without Acl check
2016-11-07 09:26:14 +01:00
Ralf Becker
2d35e890fd
remove permantent error_log on restore of egw_cal_dates
2016-11-02 14:28:34 +01:00
Ralf Becker
16689ebc27
fix use of old egw class in favor of new Api\Egw
2016-11-02 09:38:37 +01:00
Ralf Becker
225bc0bbc2
fix searching for "group" reveals groups normally hidden by forced account-selection pref "groupmembers" or "none"
2016-10-31 18:46:59 +01:00
Ralf Becker
8040fa49ec
remove Exception type, to not get a Type error when PHP 7+ throws an Error
2016-10-31 18:29:32 +01:00
Ralf Becker
dbae12260b
fix setting alias and forwards, allow to add/remove from existing ones
2016-10-31 15:41:52 +01:00
Ralf Becker
74e2c62b48
* Admin/Mail: allow to limit users to only create identities for aliases
2016-10-28 14:27:59 +02:00
Ralf Becker
a23ab6a9fb
* Addressbook/LDAP: fix error if egroupware-epl-compat (old API) not installed
2016-10-27 10:51:47 +02:00
nathangray
648b6fd759
If searching for an account and you include 'Group ' (or translation) in the search string, it will search just groups instead of all accounts.
2016-10-24 09:21:57 -06:00
Ralf Becker
e989d079d6
removing server-side validation of non-ascii in local part of email, because \x80-\xff gives and invalid utf-8 compilation error in preg_match with /u modifier
2016-10-20 15:21:40 +02:00
Ralf Becker
ab79e193ec
* Mail: show validation error if local part (before @) of email-address contains non-ascii chars
2016-10-20 12:29:56 +02:00
Ralf Becker
ad059b81e7
add missing traversable-test mentioned by Scrutinizer
2016-10-20 10:17:20 +02:00
Ralf Becker
2fbafeaa27
add missing false-test mentioned by Scrutinizer
2016-10-20 09:50:57 +02:00
Ralf Becker
c2d1fe6d50
only check vfs for templates, if /etemplates is mounted
2016-10-19 16:44:04 +02:00
Ralf Becker
ae712ff8a1
* Filemanager: break infinit recursion stalling eg. login by introducing max. sub-directory depth of 100
...
Detects infinit recursion caused eg. by fs_dir pointing to a child-directory.
No idea how to efficently test for that, without scanning all parents of all filesystme nodes.
2016-10-19 15:52:02 +02:00
Klaus Leithoff
7588c9a493
rework of fix for problem regarding send with bcc when using esync
2016-10-19 10:01:38 +00:00
Klaus Leithoff
c47d8a26c3
* Mail: fix problem regarding send with bcc when using esync
2016-10-18 13:59:32 +00:00
Ralf Becker
a81442373c
fix typo
2016-10-13 17:58:27 +02:00
Ralf Becker
30cf772c4d
move ADOdb row_lock and rollback_lock methods to Db class, use Db::$tablealiases and use them for backup, also added a "backup_(starts|finished)" hook for apps
2016-10-13 17:54:58 +02:00
Ralf Becker
6e1429d833
change to just "Powered by EGroupware <version>"
2016-10-08 14:46:25 +02:00
Hadi Nategh
c3fb98f3c1
Try to correct ckeditor references point to vendor directory
2016-10-07 12:15:03 +02:00
Ralf Becker
315ceed672
error_log if calendar can not send notifications
2016-10-06 19:09:40 +02:00
Hadi Nategh
57349e6386
Remove spellchecker lang from preferences
2016-10-06 18:30:37 +02:00
nathangray
fa8f53e6d4
Fix VFS ajax uploads did not work if path needed expansion
2016-10-05 16:13:31 -06:00
Hadi Nategh
69ce664000
Fix some of content in mails with specific html formats get removed by HtmLawed's balance
2016-10-05 17:13:07 +02:00
Hadi Nategh
93f3826259
Update HTMLawed into version 1.1.22
2016-10-05 16:18:06 +02:00
Ralf Becker
fc086c56cd
fix dbb0796
allow to specify a subdirectory in attach_file as part of $file[name] parameter
...
(subdir was created, but file was copied to main dir)
2016-10-04 16:47:24 +02:00
Ralf Becker
dbb07961f6
allow to specify a subdirectory in attach_file as part of $file[name] parameter
2016-10-04 10:49:55 +02:00
nathangray
3da08fa7a1
Make sure category data is an array before looking inside it, avoids warning if it is not
2016-10-03 09:58:59 -06:00
Ralf Becker
adaeabe592
fix wrong namespaced Exception: \DateTime throws \Exception
2016-09-28 11:17:19 +02:00
Ralf Becker
76c83eb2a9
allow to specify multiple cat_id's
2016-09-26 14:35:52 +02:00
Ralf Becker
e467b48fea
allow to import without acl-check and setting modifier
2016-09-26 11:40:02 +02:00
Ralf Becker
d99a283929
fix old class names in docu
2016-09-26 09:27:52 +02:00
Hadi Nategh
83de4986c8
Fix inline images of compose do not get stored as links into integrated applications like infolog, tracker or calendar
2016-09-21 15:52:50 +02:00
nathangray
c2bd221ae0
Silence debug error log
2016-09-13 08:07:52 -06:00
Ralf Becker
9b09267e0b
* Calendar/CalDAV: update or removal of (managed) attachments via CalDAV failed
2016-09-13 15:55:55 +02:00
Ralf Becker
4bf26a6c52
Vfs::rename() is supposted to be static, quitens warning that it is used static
2016-09-13 13:53:05 +02:00
Ralf Becker
e82ce99537
fix SQL error happening in sync-colletion in TB caused by Db->Type == 'mysqli' and Db->group_connect returning false
2016-09-12 23:22:56 +02:00
nathangray
7afd7e420b
Better version of optgroup fix to still allow additional data (title, color) in option entries
2016-09-12 10:42:12 -06:00
nathangray
dee0caa875
Fix validation of select values in an optgroup always failed
2016-09-12 08:40:48 -06:00
nathangray
4dcb415f44
Try to fix redirects from AJAX calls to static methods
2016-09-09 10:27:33 -06:00
Hadi Nategh
aff9f0eba8
Fix Ctrl+A in context menu does not get translated
2016-09-09 12:54:52 +02:00
Hadi Nategh
ea30baf1a3
Fix syntax issue caught by Travis which happens only for php versions older than 5.6
2016-09-08 10:10:49 +02:00
Hadi Nategh
cc278e0d17
WIP of letter avatar generator:
...
- Use hash system to pick always the same color for given user
2016-09-05 12:50:04 +02:00
Ralf Becker
4a25a4a1d3
* App apps: async notifications were not using SMTP only account, but personal one with unavailable session password
2016-09-02 18:12:04 +02:00
Hadi Nategh
c3583dbb3c
WIP of letter avatar generator
2016-09-02 17:33:55 +02:00
Ralf Becker
d4ce9fce91
enhance filesystem check to also check fs_id of required nodes /, /home, /apps
2016-08-31 19:03:48 +02:00
Hadi Nategh
d8761441b1
* Mail: Fix pdf attachments do not get downloaded in mobile template
2016-08-31 12:10:26 +02:00
Ralf Becker
4b614c91ed
* Filemanager: fix missing symlink overlay on mime-icon
2016-08-29 19:42:49 +02:00
Ralf Becker
4cd0d35ff7
possible fix for deactivated / or /apps
2016-08-29 17:14:48 +02:00
Ralf Becker
ef5b160fdd
fix for PHP Warning: Illegal string offset 'to_id' in api/src/Etemplate/Widget/Link.php on line 327
2016-08-29 13:50:13 +02:00
Ralf Becker
026fd08125
Sqlfs::mkdir is no longer static, fixing some left over static calls
2016-08-29 13:42:57 +02:00
Ralf Becker
a6189bf9b9
Sqlfs::mkdir is no longer static, fixing some left over static calls
2016-08-29 12:56:35 +02:00
Ralf Becker
c474df28fb
fix Scrutinizer bug: Api\Etemplate\Exception does not exist (missing \Exception) and remove old non-static stuff from Api\Etemplate\Widget::setElementAttribute(), as $this is allways unset for methods declared static
2016-08-28 12:51:19 +02:00
Ralf Becker
54bfaeb988
fix Scrutinizer docu bug: Api\Etemplate\Request\Files::__construct($id) $id is not array but string|null
2016-08-28 12:51:19 +02:00
Ralf Becker
8d2d4ef3dd
fix Scrutinizer docu bug: Api\Etemplate\Request\Files::__construct($id) $id is not array but string|null
2016-08-28 12:51:19 +02:00
Ralf Becker
4e15b70373
fix Scrutinizer docu bug: Egw::setup() need to support null for $domain_names parameter
2016-08-28 12:51:19 +02:00
Ralf Becker
4dbd49d285
fix Scrutinizer docu bug: Api\Db has no more support for Halt_On_Error attribute
2016-08-28 12:51:19 +02:00
Ralf Becker
bcec596fff
fix Scrutinizer docu bug: get_backend returns Sql|Ldap|Ads|Univention backend
2016-08-28 12:51:19 +02:00
Ralf Becker
056e0f97d2
fix Scrutinizer bug: replace new ldap (wrong namespace) with Api\Ldap::factory()
2016-08-28 12:51:19 +02:00
Ralf Becker
6c6f9eae7a
fix Scrutinizer bug: non-existing Api\Api\Db\Exception\InvalidSql and delete_list accepts array of list-ids, while check_list does not
2016-08-28 12:51:19 +02:00
Ralf Becker
52ca45a228
fix Scrutinizer bug: remove non-static usage as it gives a PHP Fatal anyway, since Config::save_value() is declared static
2016-08-28 12:51:19 +02:00
Ralf Becker
9082a799e2
fix Scrutinizer docu bug
2016-08-28 12:51:19 +02:00
Ralf Becker
9f073b4c4c
fix Scrutinizer bug: get_path only allows array as parameter (calendar&infolog allow int / just the id too)
2016-08-28 12:51:19 +02:00
Ralf Becker
6903ab0f12
fix Scrutinizer bug: missing required parameters
2016-08-28 12:51:19 +02:00
Ralf Becker
2ec05f8936
fix Scrutinizer docu bug
2016-08-28 12:51:19 +02:00
Ralf Becker
d2e05d5a41
fix Scrutinizer bug: Api\Auth\Exception does not exist
2016-08-28 12:51:19 +02:00
Ralf Becker
b400f38b75
fix Scurtinizer bug by explicitly returning $other_cronlines instead of not declared class var
2016-08-28 12:51:19 +02:00
Ralf Becker
87f54ac14f
fix Scurtinizer bug
2016-08-28 12:51:19 +02:00
Ralf Becker
3a6be10253
* Calendar: use proxy config from setup >> configuration to download holiday calendars
2016-08-26 14:00:12 +02:00
Ralf Becker
1088278b37
no need to call accounts class, if we have no id
2016-08-24 19:43:37 +02:00
nathangray
a5b31c62ab
Add ISO 8601 (Y-m-dTH:i:s) format to list of checked date formats when importing to catch double parsed dates
2016-08-24 08:22:17 -06:00
Ralf Becker
e724752600
remove deprecated use of read without id (1. parameter) to accounts class in phpgwapi
2016-08-24 16:10:52 +02:00
Ralf Becker
afa17b8236
fix PHP Fatal Call to a member function update() on null
2016-08-24 13:06:06 +02:00
Ralf Becker
6a4c89d61a
* Mail: iCal attachments are shown as such, only meeting requests trigger calendar interface with accept/reject buttons
2016-08-23 17:22:55 +02:00
Ralf Becker
a8268adfb5
fix enhanced (multi-)select boxes in old eTemplate where broken and displayed only as regular select-boxes
2016-08-19 16:47:33 +02:00
Ralf Becker
b6c5ad31db
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 13:05:51 +02:00
Ralf Becker
f1f8c4e98d
* Filemanager/WebDAV: generally deny user to delete directories /, /home, /apps, /templates (last 2 incl. subdirectories)
2016-08-18 10:04:36 +02:00
nathangray
73dbaa0dfb
Preserve link order set by application
2016-08-17 10:52:45 -06:00
Ralf Becker
94bc949cfa
* All apps: symlink files to not yet saved entries were not working
2016-08-17 16:05:26 +02:00
Hadi Nategh
a64adb19e6
Fix app.js files included in wrong order
2016-08-16 11:13:11 +02:00
Ralf Becker
9e0ff222f2
missed passing $append parameter to include_modules
2016-08-15 18:55:29 +02:00
Ralf Becker
c3a8012408
adding documented, but never implemented $append parameter to Framework::includeJS
2016-08-15 18:35:26 +02:00
Ralf Becker
a8e1980a15
* Addresssbook: fixed category tree looses unavailable categories (eg. private categories of other users)
2016-08-15 18:22:38 +02:00
Ralf Becker
afafc8ccba
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:43:34 +02:00
Ralf Becker
f3649bf021
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:25:20 +02:00
Ralf Becker
780d35c096
add not yet detected unicode in name-part of email, like "zero width space"
2016-08-12 11:22:56 +02:00
Ralf Becker
bd24602a42
* Filemanager: fix not working changing owner or group of a file/directory (as root!)
2016-08-12 09:29:40 +02:00
Ralf Becker
ac45503630
Handle recursive directory creation in vfs layer, as not all underlaying
...
wrappers, eg. smb(client), support it themselfs
2016-08-12 08:49:06 +02:00
Ralf Becker
78893ad901
* Filemanager: fix PHP Fatal error when changing ownership or permissions
2016-08-11 22:39:35 +02:00
Ralf Becker
281c6d8761
* Mail: fix lost mail account password on user password change
2016-08-09 14:05:51 +02:00
Ralf Becker
4315999573
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:11:29 +02:00
Ralf Becker
7822f84943
* 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:31:36 +02:00
Ralf Becker
674db7912e
try fixing error in installtion in Travis using Postgres during admin account creation
2016-08-06 12:41:20 +02:00
Ralf Becker
ee468f40ff
try creating egroupware database for postgres with psql, as creating it through SQL seem not to work in Travis
2016-08-06 11:10:28 +02:00
Ralf Becker
b26e102ded
debugging db creation in Travis for postgres
2016-08-06 10:54:33 +02:00
leithoff
a41896f802
fix charset/transfer encoding issue when sending plain ascii mails but adding utf-8 signature
2016-08-05 15:12:21 +02:00
Ralf Becker
e65812d07d
* Admin: fix email address for groups could not be stored for accounts in SQL
2016-08-03 18:24:14 +02:00
Ralf Becker
a72db03fdb
* EPL/Filemanager: fix PHP Fatal using file-a-file dialog (upload with setting eg. a comment)
2016-08-03 15:26:30 +02:00
Ralf Becker
7dde8d0938
fix not working removing of directories and changing group ownership
2016-08-02 12:19:23 +02:00
Ralf Becker
a2439dec02
fix "PHP Fatal error: APCuIterator::__construct(): APC must be enabled to use" in setup-cli
2016-08-02 11:42:37 +02:00
Ralf Becker
2a4535be58
fix PHP Fatal error: Class 'EGroupware\Api\Vfs\Config' not found
2016-08-02 10:19:13 +02:00
Ralf Becker
71a384798f
fix PHP Strict Standards: Only variables should be assigned by reference
2016-08-02 10:16:31 +02:00
Ralf Becker
ad5cf7abfe
move old schema tests to api/src/Db/test/, not (yet) running via phpUnit/Travis
2016-08-01 13:58:06 +02:00
Ralf Becker
ba18f3f594
allow eg. unit-tests to set/change schema used by db class: Db::set_table_definition()
2016-08-01 13:34:25 +02:00
Ralf Becker
c033435122
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:32:43 +02:00
Ralf Becker
27468f0dac
fix PHP Warning: filemtime(): stat failed for phpgwapi/setup/setup.inc.php
2016-07-31 10:29:52 +02:00
Ralf Becker
d3043c2a45
* Templates: disable old idots and jerryr template, as new calendar does not work with them
2016-07-29 11:55:41 +02:00
nathangray
474e32db67
Slightly more intelligent detection of plain text fields in a document that has HTML parsing turned on
2016-07-28 14:14:20 -06:00
Ralf Becker
f6f3b89f8b
* 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 15:10:39 +02:00
Ralf Becker
e3bdf129dc
fix Travis error for HHVM
2016-07-28 13:51:47 +02:00
Ralf Becker
96caf6effd
* 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:02:21 +02:00
Ralf Becker
86823a7e8c
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:11:34 +02:00
Ralf Becker
9c13d84a67
define Vfs::LINK_MODE constant again, since we no longer inherit from Vfs\StreamWrapper
2016-07-28 10:05:14 +02:00
Ralf Becker
015ed03bb6
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:40:23 +02:00
Ralf Becker
6ba07ef64b
fixed SQL error caused by sql_mode ONLY_FULL_GROUP_BY under MySQL 5.7+ in VFS file-system-check
2016-07-28 09:11:38 +02:00
Ralf Becker
6496f33da6
fix PHP Fatal error: Access to undeclared static property: EGroupware\Api\Vfs\StreamWrapper::$is_root
2016-07-27 11:09:07 +02:00
Ralf Becker
ffa5b37776
fix not working forced password change on login page with fallback auth
2016-07-27 10:19:48 +02:00
Ralf Becker
28cddb8e64
* Api: fixed not working HTTP authentication
2016-07-26 17:07:42 +02:00
Ralf Becker
be08b46767
* eMail/UCS: fix setting of mailbox ACL for IMAP login-type "email"
2016-07-26 14:51:18 +02:00
Ralf Becker
f0a739d7ed
* LDAP: fix not working password change by user
2016-07-26 08:47:31 +02:00
Ralf Becker
a0d419a145
log execeptions happening during mergeprint for easier debugging
2016-07-25 14:53:30 +02:00
Ralf Becker
4b58e87080
fix not working symlinking vfs files to infologs/links, fixed multiple PHP deprecated should not call non-static self::url_stat static
2016-07-22 18:22:46 +02:00
nathangray
3b1ce04608
Avoid a Illegal string offset warning from link-entry widgets when they have only-app attribute set
...
Happened on infologs added from projectmanager element list
2016-07-21 12:51:32 -06:00
Ralf Becker
fefc2b5f88
fix PHP Fatal error: Call to undefined function EGroupware\Api\Vfs\Sqlfs()
2016-07-21 18:35:58 +02:00
Ralf Becker
6108123fe7
fix PHP Fatal in propatch
2016-07-21 17:43:28 +02:00
Ralf Becker
45c272dac2
make Vfs\StreamWrapper::symlinkCache_remove public, to allow calling from Vfs
2016-07-21 12:15:54 +02:00
Ralf Becker
d26d1dd7f8
fix rename and load_wrapper missing in Vfs class
2016-07-21 11:17:01 +02:00
Ralf Becker
52be4ee14b
implement PHP 5.4+ stream_metadata method for VFS, allowing to use that functionality from other stream-wrappers like php-smbclient
2016-07-21 09:51:36 +02:00
Ralf Becker
f04dd8ace6
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-19 13:29:43 +02:00
Ralf Becker
b65d87bc68
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-19 11:59:16 +02:00
Ralf Becker
f4acec1b82
fix not working forced password change on login screen
2016-07-15 14:47:13 +02:00
Ralf Becker
f4521e3401
fix missing slash in path of adLDAP.php
2016-07-15 14:24:30 +02:00
Ralf Becker
52d3aa70cd
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:23:39 +02:00
Ralf Becker
b2ac90fec6
fix some Scrutinizer "bugs"
2016-07-15 08:17:54 +02:00
Ralf Becker
847fb38194
* NTLM: move ntlm login code from phpgwapi to api to allow NTLM login in 16.1 minimal install
2016-07-15 08:05:44 +02:00
Ralf Becker
e1f8fa7799
* ActiveDirectory: using adLDAP now from adldap2/adldap2=4.0.4 via composer
2016-07-15 07:39:53 +02:00
Ralf Becker
630175178e
mark test as skiped, if cache-provider throws Exception because missing PHP extension
2016-07-14 16:07:09 +02:00
Ralf Becker
a90087b81c
send page-generation- and session-restore-time via json response not as dom fragment
2016-07-14 14:55:57 +02:00
Moritz 'Morty' Strübe
fc02e0f299
Also adjust links when migrating from Ldap to DB
2016-07-14 10:19:24 +02:00
Ralf Becker
fa70712a2f
fix PHP Warning: Memcached::setOptions(): invalid serializer provided, if neither igbinary nor json serializer is available, staying with default php serializer
2016-07-13 08:56:31 +02:00
Ralf Becker
6cb0f0f152
making existing cache-tests available for phpunit/Travis, thought leaving old test in place as they are more performance testing
2016-07-12 16:55:11 +02:00
Ralf Becker
f15b5552ad
forgot to modify Link::get_data()
2016-07-12 15:00:40 +02:00
Ralf Becker
943ae3612e
Link::query callback needs to be called with reference as 3. parameter, passing now array with parameters instead of single parameters
2016-07-12 13:54:36 +02:00
Ralf Becker
7455cae476
* API/ProjectManager: fixed some errors caused by no longer sharing instanciated objects not designed to be shared
2016-07-12 11:37:05 +02:00
nathangray
b195d44cbf
Fix common and admin translations were sometimes missing
2016-07-11 16:23:58 -06:00
Ralf Becker
3a2ac5402d
need to use global namespace for non-namespaced phpunit 4.8 class PHPUnit_Framework_TestCase
2016-07-11 22:49:36 +02:00
Ralf Becker
a39935810c
fix Travis errors with phpunit 4.8 under PHP < 7
2016-07-11 22:39:42 +02:00
Ralf Becker
5c33bd9bef
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-11 21:40:02 +02:00
Ralf Becker
a80cb15d66
* LDAP/UCS: groups not found when searching for them eg. in custom fields (account-type=both)
2016-07-11 15:08:51 +02:00
Ralf Becker
7643c9f57b
display login-message depending on $_GET[cd] and whats in database/header for "login_message"
2016-07-11 09:33:46 +02:00
Ralf Becker
fa148e4c89
move check_logoutcode to Api\Framework\Login, where it is used
2016-07-11 08:52:41 +02:00
Ralf Becker
0136ed2112
fix Scrutinzer "bug" changing var imported not as reference into closure
2016-07-10 11:58:54 +02:00
Ralf Becker
0b71dd2756
replace (slower and ugly) create_function with closures
2016-07-10 11:09:21 +02:00
Ralf Becker
dbf69a79c6
* Setup/Auth: fix PHP Fatal with Sqlssl authentication (Class EGroupware\Api\Auth\auth_sql not found)
2016-07-09 09:20:00 +02:00
Ralf Becker
4f4530b98d
* Admin: add used caching provider and APCu stats to "PHP Information"
2016-07-08 12:09:37 +02:00
Ralf Becker
f89142629a
* eSync: fix not synced subject and other headers, after RC3 Outlook memory reduction
2016-07-08 10:34:33 +02:00
Ralf Becker
1bae5f991f
grr fix typo, thanks to Travis
2016-07-08 09:09:47 +02:00
Ralf Becker
a091718807
* Restore: fix failed restore under MySQL 5.7 by temp. disabling strict mode to allow inserting zero dates
2016-07-08 08:40:44 +02:00
Ralf Becker
2c238b7071
* PHP7/ImportExport: fix different evaluation order of PHP 5 and 7 gives eg. error "Function name must be string" in wizard
2016-07-07 20:25:32 +02:00
Ralf Becker
512bc77cfd
turn off permanent error_log
2016-07-07 19:54:12 +02:00
Ralf Becker
1818088a88
* APCu/PHP7: fixed not used APCu under PHP7, as it has no APC compatible interface
...
Apcu class is basicly a copy of Apc, but as its methods are called quite a lot, I dont want to add the overhad of checking to call apc_ or apcu_ on every call, anyway APC died with PHP 5.5 so we can remove Apcu class once we no longer support PHP 5.4
2016-07-07 17:39:37 +02:00
Ralf Becker
34f4a23497
fix wrong namespace
2016-07-07 16:36:06 +02:00
Ralf Becker
9c8823cde2
fix PHP 5.4 Fatal error: Cannot create references to elements of a temporary array expression
2016-07-07 16:23:30 +02:00
Ralf Becker
26ccede602
* Mail: automatic migrate old mcrypt tripledes passwords to openssl AES on successful login
2016-07-07 16:08:35 +02:00
Ralf Becker
d5a97279a7
* Univention: fix not working 16.1 install in UCS: Account not found! (acc_id=1)
2016-07-04 15:36:49 +02:00
Ralf Becker
035593f8a6
* Template: relabeled Pixelegg template/theme to "Standard", and mobile theme for desktop to "Compact"
2016-07-04 11:47:49 +02:00
Ralf Becker
5260af7268
fix typo
2016-07-04 10:34:57 +02:00
Ralf Becker
dbb46f7574
fix Scrutinizer "bugs"
2016-07-02 13:59:49 +02:00
Ralf Becker
b0803c76b6
fix Scrutinizer "bugs"
2016-07-02 12:11:52 +02:00
Ralf Becker
22b62aa168
fix Scrutinizer "bugs"
2016-07-02 11:57:26 +02:00
Ralf Becker
8c6193d22f
fix Scrutinizer "bugs"
2016-07-02 11:53:40 +02:00
Ralf Becker
72c22fbd44
fix Scrutinizer "bugs"
2016-07-02 11:47:25 +02:00
Ralf Becker
5e470912b9
reworked about text a bit for 16.1
2016-06-30 10:29:15 +02:00
Ralf Becker
6efd436a75
need to switch ONLY_FULL_GROUP_BY of for MySQL >= 5.7
2016-06-28 13:43:11 +02:00
Ralf Becker
f4dc9ebc3b
* MySQL/Ubuntu 16.04: switch off sql_mode ONLY_FULL_GROUP_BY enabled in MySQL 5.7+
2016-06-27 20:26:48 +02:00
Ralf Becker
9aa98a46a5
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
Ralf Becker
0a2b30f275
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
Ralf Becker
ada94b8d43
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
Ralf Becker
d11405205c
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
Ralf Becker
9860c9d8b7
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
Ralf Becker
8a9b6591a8
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
Ralf Becker
903b14f45d
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
Ralf Becker
b103dd23a6
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
Ralf Becker
e6c2f04dda
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
Ralf Becker
23835a2f68
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
Ralf Becker
b47dd39072
fix some scrutinizer "bugs"
2016-06-26 19:44:53 +02:00
Ralf Becker
6deedce782
try translating default group descriptions on read, in case they are not translated
2016-06-26 19:44:53 +02:00
nathangray
8d1028ead8
Fix missing translation for Add entry
2016-06-23 13:04:59 -06:00
nathangray
dc8ab4cfc0
Fix missing global category colors if minification is on
2016-06-21 10:54:36 -06:00
Ralf Becker
1b4bef13f5
return full mime message as stream without any conversation and without caching it, as this probably caused high memory usage when syncing with Outlook
2016-06-21 09:33:44 +02:00
Ralf Becker
412b874629
quiten permanent error_log in CalDAV::handle_attach, only leave error_log for errors
2016-06-20 18:34:35 +02:00
Ralf Becker
8a1fa99886
only set LC_MESSAGES by default, as LC_ALL would also change PHPs numberformatting to use eg. comman as decimal seperator, fixes not working preference how many infolog lines to show
2016-06-20 18:29:23 +02:00
Ralf Becker
bd5fc3ed11
fix admin was not able to see devices and logs of an other user, if he opened that users preferences via admin context-menu
2016-06-20 11:48:28 +02:00
Ralf Becker
65a26d707a
keep Travis happy by only conditional defining hash_pbkdf2 in polyfill
2016-06-20 11:04:52 +02:00
Ralf Becker
eed6b18e3d
* Mail/Api: replace decrecated Mcrypt PHP extension with OpenSSL, use AES128 with pbkdf2 streching of passwords
...
only new passwords get currently stored via AES, old onces are not yet automatic converted
2016-06-19 14:49:50 +02:00
leithoff
c173de3935
fix for functional folders showing up multiple times
2016-06-17 11:50:20 +02:00
Ralf Becker
6a02f1c19a
merge changes from update-zpush-2.3 branch into master
2016-06-17 09:11:26 +02:00
Ralf Becker
e600eede2a
fix iOS calendar crashed if event-organizer had no email address
2016-06-16 18:14:28 +02:00
leithoff
a12f6755ab
handle fatal error Using $this when not in object context
2016-06-16 12:00:07 +02:00
Ralf Becker
2857511ac9
calling jQuery.noConflict() as early as possible to NOT occupy $ variable stalling many SiteMgr templates
2016-06-15 08:54:12 +02:00
leithoff
e010510a5e
handle fatal error Using when not in object context
2016-06-14 10:19:27 +02:00
Ralf Becker
c3c5b7cafa
* Mail: fix PHP Fatal error when saving Sieve scripts
2016-06-13 14:17:48 +02:00
leithoff
249af04b21
handle pass var by reference for getSortedList
2016-06-10 09:47:19 +02:00
Ralf Becker
ab02df94d4
extract PDO code from Sqlfs streamwrapper into class Api\Db\Pdo, to be able to use it for z-push SqlStateMaschine
2016-06-09 20:40:31 +02:00
leithoff
caafb0b84b
improved handling of authentication/connection failed errors
2016-06-09 15:48:01 +02:00
Ralf Becker
bca20a9534
silence "Declaration of $class::$method should be compatible with $parent::$method" warning
2016-06-09 09:24:33 +02:00
Ralf Becker
5643f0f6c2
fix PHP Warning: Declaration of EGroupware\\Api\\CalDAV::ServeRequest() should be compatible with HTTP_WebDAV_Server::ServeRequest($prefix = NULL)
2016-06-09 09:00:57 +02:00
nathangray
578ded52b8
Fix quick timezone selection
...
- Now updates all open apps, not just the currently active one.
- Fixed AJAX change did not stay changed
2016-06-08 16:02:10 -06:00
leithoff
40d1e52238
fix warning
2016-06-07 16:07:58 +02:00
leithoff
0bd975927f
attempt to handle connection failed errors more convieniently
2016-06-07 15:31:34 +02:00
Ralf Becker
3ccea2b6d7
fix missing (global) namespace in Exception from last commit, also fixed existing cases
2016-06-07 13:02:41 +02:00
Hadi Nategh
93217a149d
jQuery libraries updates via composer
2016-06-06 17:38:20 +02:00
Ralf Becker
e2190cee25
fix EGroupware\Api\Vfs\Sqlfs\StreamWrapper::mkdir('sqlfs://default/home/*****',56,8) already exist!
2016-06-06 13:59:45 +02:00
Ralf Becker
89fcf7e844
fix a PHP Strict Standards: Declaration of *_groupdav::propfind_callback() should be compatible with & EGroupware\Api\CalDAV\Handler::propfind_callback
2016-06-06 13:54:09 +02:00
Ralf Becker
f1440fb9d5
catch exception caused by wrongly formatted date, as it eg. stalls whole mail app, as we created placeholders of account for signature
2016-06-06 10:09:05 +02:00
Ralf Becker
4a79713ad5
fix old Smtp/Imap plugin names causing mail hooks not to run and accounts not being activated
2016-06-05 18:09:30 +02:00
Ralf Becker
139ee0dab1
no need to log connection retries and final connection failures are always thrown, fixes 5 connection failures log for creating new databases
2016-06-05 16:59:55 +02:00
nathangray
0ab67c3280
Move api-accounts links to api app, fixes search in account selectbox does not work without home permission
2016-06-02 10:11:31 -06:00
Hadi Nategh
d040534a1f
Deprecate $j global variable used in php files and replace them all with standard jQuery
2016-06-02 17:43:23 +02:00
leithoff
8a6126f12f
handle problems on failed retrieval of headers, when short-preview is switched on in message-list
2016-06-02 14:48:19 +02:00
nathangray
2507fefda8
Fix account link query
2016-06-01 15:39:10 -06:00
Ralf Becker
d90c6d6e2a
fix permanent error_log
2016-06-01 16:43:27 +02:00
Ralf Becker
06dee154d0
* Admin/Mail: fix admin editing (personal) mail account of other user destroys password, because it was encrypted with users session password and therefore not available
2016-06-01 16:25:36 +02:00
Ralf Becker
26916daaef
fix autoloader to load news_admin_bo at installation (no $GLOBALS[egw_info][apps] available)
2016-06-01 09:08:06 +02:00
Ralf Becker
05e5c6181f
fix PHP Fatal error: Call to undefined method EGroupware\Api\Session::appsession() during SiteMgr installation
2016-05-31 22:45:01 +02:00
Ralf Becker
9c3ba4240a
fix wrong namespace
2016-05-31 12:30:08 +02:00
Ralf Becker
921adfb10f
fix Framework\Template::get_dir() to either return a directory or throw a WrongParameter Exception, fixes several Scrutinizer warnings
2016-05-31 09:14:50 +02:00
nathangray
772b97e22d
Fix namespace causes class check to fail
2016-05-30 15:41:27 -06:00
nathangray
38f1c2b76b
Avoid error if file has no props
2016-05-30 10:12:54 -06:00
Ralf Becker
eb62aba637
fix PHP Fatal error: Class 'EGroupware\Api\Vfs\SharingUi' not found
2016-05-30 16:00:20 +02:00
Ralf Becker
1b8bc32f54
fix only show WebDAV autoindex, instead of filemanager GUI for sharing directories
2016-05-30 12:40:20 +02:00
leithoff
97b30f3167
explizitly handle span element on convertHTMLToText
2016-05-27 12:29:18 +02:00
Ralf Becker
2b2845fff7
fix PHP Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP
2016-05-26 11:27:03 +02:00
nathangray
366c6aabf5
Update participating contacts in addressbook list when an event changes
2016-05-25 17:28:59 -06:00
Ralf Becker
8c821ab8cb
fix wrong/different case WrongUserInput --> WrongUserinput
2016-05-25 21:41:50 +02:00
Ralf Becker
4165c649ae
adding missing adLDAP stuff, support for https and ssh checkouts and (un)tagging to .mrconfig
2016-05-25 12:18:47 +02:00
nathangray
362366ed28
Fix addressbook - calendar permission issue blocking viewing contact calendar
2016-05-24 17:13:40 -06:00
nathangray
fccf83e36a
Do not have draw:frames with duplicate names, they will be stripped when opening with LibreOffice 5.1
2016-05-24 13:48:41 -06:00
leithoff
00000dbeee
mind namespace when calling hook_tag function
2016-05-24 16:01:55 +02:00
Ralf Becker
9f615386d8
$GLOBALS['egw_info']['flags']['deny_mobile'] to disable new 16.1 mobile support
2016-05-23 14:25:30 +02:00
Hadi Nategh
5ef5cacd62
Implement geolocation option for contacts in addressbook
2016-05-20 15:50:26 +02:00
Hadi Nategh
1517c5f323
Fix emails with single quote in local address not getting parsed correctly (eg. test.o'test@example.com)
2016-05-19 15:46:08 +02:00
Hadi Nategh
4aa1156af0
Fix framework asks always for jdots even if the jdots is not installed
2016-05-18 12:39:06 +02:00
Ralf Becker
f102460ac9
fix PHP Fatal if app got removed in filesystem (like eg. our developer_tools)
2016-05-17 22:04:12 +02:00
Ralf Becker
148e1853db
put "Changelog" tab in front, then "General" tab renamed "About EGroupware" and last "Applications" renamed to "Apps & License" also containing templates after the apps
2016-05-17 21:38:12 +02:00
nathangray
82737f47e1
Replace missing transform templates
2016-05-17 08:36:37 -06:00
leithoff
3d705be6e7
avoid fatal error on merging prefs
2016-05-17 12:51:45 +02:00
Ralf Becker
dab7650dca
using eT2 for about and moved code to api (api/src/Framework/About.php)
2016-05-16 16:27:33 +02:00
Ralf Becker
8a24f3e449
fix not loaded header / CSS, caused by missing echo before $GLOBALS['egw']->framework->(header|footer)
2016-05-14 21:26:36 +02:00
Ralf Becker
5be1075f26
move empty.html used for autocomplete to api/templates/default/, as $app/src/ will not be available for direct requests
2016-05-14 12:38:31 +02:00
leithoff
f29066bc86
give more info on failed attachment retrieval
2016-05-13 12:26:21 +02:00
Ralf Becker
c0bd10e4fe
fix EGroupware\\Api\\Translation::load_app_files() lang file etemplate/lang/egw_*.lang contains invalid app 'developer_tools' and other loading issues through phpgwapi&etemplate --> api conversation
2016-05-12 19:06:42 +02:00
Nathan Gray
e38fa525ef
Unset empty filter arrays, not set them to null
2016-05-11 19:40:49 +00:00
Ralf Becker
e34fe9a4e7
using Acl::(ADD|READ|EDIT|DELETE|PRIVAT) constants instead old EGW_ACL_* defines and fix some namespace errors found by doc/check_namespace.php
2016-05-11 19:23:14 +00:00
Ralf Becker
e87cbc4832
use static Hooks methods
2016-05-11 18:58:10 +00:00
Klaus Leithoff
419f90f2e9
fix problem regarding sorting autofolders to the beginning of the foldertree
2016-05-10 15:17:40 +00:00
Nathan Gray
457e05d920
Change filterheaders to extend taglist instead of select
2016-05-09 19:17:04 +00:00
Ralf Becker
251de1dc54
move category images to api, fixes PHP Fatal in admin_categories, if phpgwapi is not installed
2016-05-09 10:05:57 +00:00
Ralf Becker
af9d5a6a66
use api instead of home for browser based mime-handlers
2016-05-06 17:50:00 +00:00
Ralf Becker
28b534d7eb
implement birthday as fileas option
2016-05-06 16:17:05 +00:00
Ralf Becker
fc2e620652
replace old classname
2016-05-06 16:15:06 +00:00
Hadi Nategh
8708d598ff
Remove unsupported skins from CKEditor
2016-05-06 14:12:57 +00:00
Ralf Becker
30158d1e8d
get stylite search working again by adding implicit app rights for about
2016-05-06 13:42:47 +00:00
Klaus Leithoff
f163be62e2
add ClearAttachments, as it is used by notifications_email::send
2016-05-06 13:36:21 +00:00
Klaus Leithoff
c0c21e8789
implement bold, as it is used by notifications_popup
2016-05-06 13:15:36 +00:00
Ralf Becker
153c068271
fix diverse occurences of egw_db
2016-05-06 11:13:19 +00:00
Ralf Becker
5261404c53
remove accidently readded loading of no longer existing etemplate translations (moved to api)
2016-05-06 10:51:25 +00:00
Ralf Becker
4a128b913c
if template-set does not supply (login_deny)login.tpl, use the ones from api/templates/default
2016-05-06 10:49:11 +00:00
Ralf Becker
db1a9c4596
need to set $_REQUEST in ajax_exec, as some apps use $_REQUEST to check $_GET or $_POST
2016-05-06 10:03:45 +00:00
Ralf Becker
bf0fbbb521
fix PHP Fatal caused by calling method of old hooks class
2016-05-06 09:34:29 +00:00
Ralf Becker
797ff38fa3
fixed "Application echoed something", when eT2 request was processed
2016-05-05 16:43:39 +00:00
Ralf Becker
33605585e2
move default login and head templates from idots to api/templates/default and some other fixes to fix up non-Pixelegg login and old templates
2016-05-05 13:29:41 +00:00
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
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
4af0e7cb1c
WIP EGroupware without phpgwapi&etemplate
2016-05-04 19:07:54 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
Nathan Gray
8b30732aa0
Fix fatal error when deleting favorites
2016-04-13 15:01:20 +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
ce94f07599
Fix missing line breaks when merging entries that do not need HTML processing
2016-04-11 15:21:16 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
63a69c03cd
Move gantt widget into projectmanager
2016-03-22 21:33:58 +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
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
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
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
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
Ralf Becker
9c569a8c1e
* Sharing: fixed not accessible share, if user already logged into same EGroupware instance, also fixed WebDAV problems using a share URL
2015-02-28 22:08:23 +00:00
Ralf Becker
9686d8ff5b
use error_log instead of echo to give constant feedback (echo uses output buffering) and set fs_content in all rows to NULL, as it is a lot quicker
2015-02-17 07:55:11 +00:00
Ralf Becker
7e8f2716e6
seems like bindValue need to be done for each execute
2015-02-16 15:51:44 +00:00
Ralf Becker
42413373b5
fix migrate_db2fs to only fetch 5 files per query, as we dont want to require enough memory to hold all file in memory
2015-02-16 15:15:54 +00:00
Ralf Becker
dd097695ac
* Filemanager/Mail: fixed not created thumbnails for readable shares
2015-02-11 11:16:33 +00:00
Ralf Becker
fc70b2213e
missing use / namespace aliases
2015-01-31 16:20:21 +00:00
Ralf Becker
c853502a01
fix an other not aliased global class (egw_time)
2015-01-27 17:17:50 +00:00
Ralf Becker
481803ac3b
fix PHP Fatal error: Class "EGroupware\Api\ZipArchive" not found
2015-01-27 17:09:00 +00:00
Ralf Becker
70b603ac77
moving VFS API classes into a namespaced PSR4 autoloadable structure:
...
- PSR4 autoloader exists beside our old autloader to support old as well as new structure until everything is ported over
- moved ported API stuff from phpgwapi to new api directory (idea is phpgwapi become a compatibility layer for old code, while we only port selected stuff to new api directory)
- namespaces use prefix "EGroupware", then (first letter capitalised) app-name or "Api", sub-system names like "Vfs" or for apps "Ui", "Bo, "So" and at least class name starting with a capital letter and without understores eg. "StreamWrapper" plus just ".php"
- examples:
+ egw_vfs in phpgwapi/inc/class.egw_vfs.inc.php --> EGroupware\Api\Vfs in api/src/Vfs.php
+ sqlfs_stream_wrapper in phpgwapi/inc/class.sqlfs_stream_wrapper.inc.php --> EGroupware\Api\Vfs\Sqlfs\StreamWrapper in api/src/Vfs/Sqlfs/StreamWrapper.php
+ sqlfs_utils in phpgwapi/inc/class.sqlfs_utils.inc.php --> EGroupware\Api\Vfs\Sqlfs\Utils in api/src/Vfs/Sqlfs/Utils.php
- api directory is no a new svn module but exists (like home) as sub-directory under base egroupware module
2015-01-26 09:15:07 +00:00