Neo Morina
653a0d50c7
Added MIME Type "text/csv" when "pagerepeat" found
...
This gives the possibility to use "pagerepeat" in CSV files.
2017-11-09 13:16:06 +01:00
Hadi Nategh
861d714724
Fix vfsSelect does not show any content for the first load
2017-11-09 10:25:35 +01:00
nathangray
7c65127e64
Mail - Also include HTML version of email in integration data (for apps that can handle it)
2017-11-08 13:11:46 -07:00
Ralf Becker
ff3ae9815d
never invalidate session in sharing, as we cant regenerate it (and we dont need to)
2017-11-07 13:02:39 +01:00
Ralf Becker
719b2ff834
also log if _check_script_tag was able to disarm XSS automatic
2017-11-07 12:23:11 +01:00
Ralf Becker
cfe9204f77
allow sql fragments in Api\Storage\Base::delete as in other places
2017-11-06 16:43:23 +01:00
Ralf Becker
790fa8c71d
allow sql fragments in Api\Storage\Base::delete as in other places
2017-11-06 16:24:30 +01:00
Ralf Becker
0d99d129dc
deny sharing owner rights (chmod, chgrp, set eACL) and disable eACL tab
2017-11-06 14:52:12 +01:00
nathangray
dda47ca863
Disable extended ACL for readonly shares
2017-11-03 10:28:27 -06:00
Ralf Becker
4ebf79d0e1
* Sharing/Collabora: allow to use Collabora on writable shares (EPL only)
2017-11-03 12:43:09 +01:00
nathangray
ef7956f34b
Make sure lang gets passed on to registration
2017-11-02 11:13:29 -06:00
nathangray
069d49afba
Disable copy / paste for readonly shares
2017-11-02 09:43:08 -06:00
Ralf Becker
3689b3d645
* Filemanager/Sharing: deny rename, move, mkdir and rmdir on readonly share
2017-11-02 13:34:10 +01:00
Hadi Nategh
3465c40b50
Remove unsafe-eval CSP for CKEditor
2017-11-02 11:02:16 +01:00
Ralf Becker
0813403b5b
* All apps: get sharing working with files attached to application entries
2017-10-31 10:51:59 +01:00
Ralf Becker
b9594ea357
fix typo
2017-10-31 10:49:12 +01:00
Ralf Becker
b5574da397
remove system call used for PHP < 5.3.1
2017-10-31 09:55:23 +01:00
Ralf Becker
a4526c98cb
store CalDAV/CardDAV log in user spezific log directories
2017-10-30 15:00:42 +01:00
nathangray
616c11c1fb
Fix wrong table name
2017-10-27 17:48:42 +02:00
nathangray
0d14155472
Fix minimum fs_id was not returning proper value
2017-10-27 17:43:40 +02:00
nathangray
90ce0cc7b6
Add a function to get the lowest fs_id for a path
2017-10-27 17:43:40 +02:00
Ralf Becker
12dbfca137
check cookies for XSS attempts
2017-10-27 16:52:34 +02:00
nathangray
5750904809
Fix setlocale to be able to find locales on Ubuntu
2017-10-27 10:54:39 +02:00
Ralf Becker
5b573abef7
do not allow path traversal and htmlencode displayed path
2017-10-26 13:16:52 +02:00
nathangray
fdb47ab168
Merge calendar events into user account if there is one over user contact
2017-10-26 09:16:02 +02:00
Ralf Becker
77b42dd9a4
always send X-Content-Type-Options: nosniff
...
It does not harm and stops unpredictable results from browsers changing our content-types
(FF 50+ now also supports nosniff)
2017-10-25 17:35:30 +02:00
Hadi Nategh
fdb3202b6b
Add new config to the admin site configuration in order to be able to upload a custom header logo
2017-10-23 13:23:52 +02:00
nathangray
b8f8a014fa
Move all tests under api/src into api/tests
2017-10-23 10:14:14 +02:00
nathangray
24de1dff3b
Move PHPUnit tests from test to tests subdirectory
2017-10-23 09:51:28 +02:00
Ralf Becker
c88e6e0237
disabling E_DEPRECATED, as contrib apps wont work under PHP 7.1 with having eg. contructors with same name as the class
2017-10-21 12:03:10 +02:00
nathangray
d3c596a443
- Add a parameter to pass in the class of the notification to use so we can pass in a test one
...
- Explicitly tell notification what type of message (plain or html) we're giving it
2017-10-21 11:29:05 +02:00
Hadi Nategh
ff4396030a
Fix CKEditor Browse Server button to open vfsSelect
2017-10-20 18:55:22 +02:00
nathangray
accd6187e2
Get date widget duration test working again
2017-10-20 09:56:47 +02:00
nathangray
9e6ecce1d0
Move tests into app/tests subdirectory (not app/inc/test or app/test)
2017-10-18 18:30:54 +02:00
nathangray
237d81ce36
Move tests into app/tests subdirectory (not app/inc/test or app/test)
2017-10-18 15:43:35 +02:00
nathangray
865fd6405d
Move sanity check to a pre-condition check
2017-10-18 11:47:28 +02:00
Ralf Becker
1d7fb9fe90
improve check $GLOBALS[egw] is correctly initilized
2017-10-18 09:10:39 +02:00
nathangray
cd49f6568d
Replace the lost boolean cast
2017-10-17 16:48:35 +02:00
nathangray
88a3f3b1d4
Run test in UTC, so dates match our expectations
2017-10-17 15:40:05 +02:00
nathangray
6fad74c710
Fix test had no assertions
2017-10-17 13:29:17 +02:00
nathangray
8b1a8d38f5
Revert db10b21fa7
2017-10-17 12:48:46 +02:00
nathangray
db10b21fa7
Fix child actions under 'More...' did not inherit the inheritable attributes
2017-10-13 11:13:17 -06:00
nathangray
63a3940d68
Addressbook - adjust calendar event participants to match when merging contacts
2017-10-13 09:35:36 -06:00
Hadi Nategh
052bef84ce
W.I.P vfsSelect Widget:
...
- Fix upload feature not working
2017-10-13 13:22:45 +02:00
Hadi Nategh
5b76210218
W.I.P vfsSelect Widget:
...
- Fix mime types not being shown
- Fix name being displayed encoded in save2vfs mail
2017-10-12 17:45:46 +02:00
Hadi Nategh
2c721c95b2
W.I.P. VFS Select Widget:
...
- Add name and dialog_title as new attributes
- Fix SaveToVfs, SaveAttachmentToVfs, SaveAllToVfs in mail
- Fix button tile
2017-10-12 13:19:42 +02:00
Hadi Nategh
448cc8975f
W.I.P of VFS Select widget restructure
2017-10-11 18:27:42 +02:00
Hadi Nategh
de65d91dc7
Rmove fields for none private cutomfields when name refers to a single custom field
2017-10-06 16:27:37 +02:00
nathangray
0183635c02
Add permission check for collabora before setting actions to open in editor
2017-10-05 09:55:06 -06:00
Ralf Becker
6a3a944828
fix uncaught exception if Collabora is not configured or reachable
2017-10-05 11:00:38 +02:00
nathangray
1868b40359
Set up merge to open editable documents if collabora is there
2017-10-04 14:15:47 -06:00
nathangray
285eb8494b
Addressbook - Merging contacts now keeps all distribution lists, and it works now
2017-09-27 09:00:46 -06:00
Ralf Becker
1ae0f29f01
return "400 Bad Request" if propfind contains invalid elements or more then one
2017-09-26 19:13:05 +02:00
nathangray
2d57801c6a
* Addressbook - Merging contacts now keeps all distribution lists
2017-09-26 11:05:34 -06:00
Hadi Nategh
a4fdc052ab
Filemanager "New" actions:
...
- Add "New" actions into nm header as drop down list
- Re-arrange actions in contextmenu
- Let Etemplate modifies sel_options if extra changes are available
2017-09-26 18:43:18 +02:00
Hadi Nategh
6407379388
Accept localhost as a valid url
2017-09-26 11:37:37 +02:00
Ralf Becker
a6ec69169d
document and enhance function signaure for server-side callback of file and vfs-upload widget
...
also make it usable for vfs-upload widget with it's id containing entry's id
2017-09-21 11:33:40 +02:00
nathangray
2876a2838c
Adjust 'Group' account search keyword so even if someone searches for 'Group', we still respect the 'type' parameter and only return user accounts if that was what was requested.
2017-09-20 09:27:39 -06:00
Ralf Becker
48554590f4
* Addressbook: store S/Mime & PGP pubkey and photo (SQL backend only) in filesystem
2017-09-19 11:38:48 +02:00
Ralf Becker
23e654ab89
fix IDE warnings
2017-09-19 11:38:48 +02:00
nathangray
5b4fd418bf
Etemplate - change select multiple validation to also consider rows > 1 to enable multiple
2017-09-14 09:19:26 -06:00
nathangray
e0eb181373
Test for overriding Horde's translations with our own
2017-09-13 17:10:48 -06:00
nathangray
27fab7c259
Etemplate - keep child after instanciating
2017-09-08 12:43:28 -06:00
nathangray
1b36ecb962
Etemplate - fix a testing bug giving false positives
2017-09-08 11:49:28 -06:00
nathangray
f9e09953d1
Etemplate - clear other set limits to avoid conflicts with other tests
2017-09-08 11:42:22 -06:00
nathangray
43f6acdf72
Etemplate - enhance email regex to avoid trailing dots in address, comment out some other checks we might not care about
2017-09-08 11:39:33 -06:00
nathangray
cc1fff6c17
Etemplate - add a URL regex to catch some invalids that were making it through
2017-09-08 11:10:57 -06:00
nathangray
12ae214b76
Etemplate - fix bug where min / max could not be 0
2017-09-08 10:30:19 -06:00
nathangray
4d68048929
Etemplate - fix causing false negatives in textbox regex text
2017-09-08 09:51:55 -06:00
nathangray
2006b1f372
Etemplate - fix some bugs in min/max validation
2017-09-08 09:51:06 -06:00
nathangray
0b3cbdeae5
Etemplate - some basic selectbox tests
2017-09-08 09:00:37 -06:00
nathangray
0ead3713e2
Etemplate url widget tests
2017-09-08 09:00:37 -06:00
nathangray
c656d13a4c
Silence log of validation errors
2017-09-08 09:00:37 -06:00
nathangray
d75372368a
Etemplate url-email widget tests
2017-09-08 09:00:37 -06:00
Hadi Nategh
36991cb80b
S/MIME:
...
- Encode saved mail into sent folder with ENCODE_7bit to avoid any changes.
- Fix signed mails in sent folder not being correctly verified after.
2017-09-04 12:39:58 +02:00
Hadi Nategh
4d8efd0c4a
S/MIME:
...
- Add public key of sender into recipient keys while encrypting a message.
This make encrypted mails in sent folder readable by sender as well.
2017-09-04 11:43:33 +02:00
Hadi Nategh
ee092b0d5a
S/MIME:
...
- Rephrase warning message for reading encrypted mails with no relevant
pubkey and privkey
- If no mimeType provided set it to default type from mime object
2017-09-04 10:20:04 +02:00
Hadi Nategh
f4dd4bbf96
S/MIME:
...
- Reveal more info about signer and certificate
2017-09-01 11:38:39 +02:00
Hadi Nategh
1a8e584e0c
S/MIME:
...
- Fix PGP signed messages get shown as red
- Fix attachments area always gets displayed
2017-08-31 17:33:33 +02:00
Hadi Nategh
914d6b2a52
S/MIME:
...
- Make sure content of p12 file contained \0 chars at the end stored in credentials will not get trimmed.
2017-08-31 11:40:02 +02:00
Ralf Becker
c886d567f9
share token could still contain "+", which Vfs::encodePathComponent was not encoding
...
fixes some files not opening in Collabora
2017-08-30 18:16:15 +02:00
Hadi Nategh
3f06a89db5
S/MIME:
...
- Store full binary (pkcs12) certificate into credentials
- Extract cacert from pkcs12 and feed it into signing process
- Implement p12 export
2017-08-30 17:00:28 +02:00
Ralf Becker
b785766331
* LDAP/Mail: fix new accounts did not automatic enable mail account
...
Thanks to Lagrange, Joseph Fernando for the fix.
2017-08-29 20:08:43 +02:00
Hadi Nategh
f788f001d0
Fix broken mail compose
2017-08-29 11:38:08 +02:00
nathangray
495d67d5d0
Testing max & min on date widget
2017-08-28 11:44:30 -06:00
Hadi Nategh
8fd6325c3d
S/MIME:
...
- Override send function in mailer object to be able to use additional options of part->send
- Fix Signed html message gets not working
2017-08-28 19:24:51 +02:00
Hadi Nategh
74bfeade9e
S/MIME:
...
- Fix waring about openssl CA's bundle path
2017-08-28 16:24:56 +02:00
Hadi Nategh
4b9b5aa7e4
S/MIME:
...
- Add password remember option for smime_passphrase dialog in compose
2017-08-28 16:14:56 +02:00
Hadi Nategh
e3799c52fc
S/MIME:
...
- Fix smime credentials get stored with wrong account_id
2017-08-28 15:18:25 +02:00
Hadi Nategh
466e3ad364
S/MIME:
...
- Missing part from commit ef04e0bb77
2017-08-28 15:02:38 +02:00
Hadi Nategh
ef04e0bb77
S/MIME:
...
- use acc_smime_username for fetching smime certificate
2017-08-28 14:22:55 +02:00
Hadi Nategh
668cbaaacb
S/MIME:
...
- Store email address associated with certificate into cred_email
2017-08-28 12:35:21 +02:00
nathangray
61dc75621d
Etemplate simple date widget tests
2017-08-25 10:11:41 -06:00
Hadi Nategh
36211267bf
S/MIME:
...
- Implement unknownemail status in case signer email address is not matched with sender email address
2017-08-25 16:07:09 +02:00
Hadi Nategh
63440ddbc5
S/MIME:
...
- Keep private key encrypted
- Show password field always
2017-08-24 18:15:40 +02:00
nathangray
b0cd55f0b6
Some more Etemplate tests
2017-08-24 08:48:07 -06:00
nathangray
97543138f8
Some test documentation
2017-08-24 08:48:07 -06:00
nathangray
997c2fd1d5
Add simple tests for textbox widget
2017-08-24 08:48:07 -06:00
Ralf Becker
567d3d0a72
fix wrong namespace
2017-08-24 16:40:23 +02:00
Hadi Nategh
bbea403298
W.I.P S/MIME:
...
- Generate private key and certificate
- Add export buttons for private key and certificate
- Add certificate field
2017-08-22 17:25:29 +02:00
Hadi Nategh
7416c58e0d
W.I.P. of S/MIME:
...
- Add extracted email from certificate into metadata
2017-08-21 11:05:58 +02:00
Ralf Becker
946ff478c4
fix missing replace
2017-08-18 12:08:51 +02:00
Ralf Becker
191d6aec45
support PHPunit 6.0+ and older 5.7 for PHP 5.6
2017-08-18 11:45:10 +02:00
Ralf Becker
c244e72017
set required PHP version for master/17.1 to 5.6, recommended version to 7.0 and add 7.1 to Travis checks
2017-08-18 10:22:52 +02:00
Hadi Nategh
ec6e82f0a1
W.I.P. SMIME:
...
- Fix switching account fetches a wrong pubkey
2017-08-17 09:04:44 +02:00
nathangray
72f3dc394b
Fix missing CSS includes
2017-08-15 12:53:39 -06:00
nathangray
d5831a4229
Fix opening the same URL twice did not go to the specified destination the second time a second time.
...
This time we redirect to index.php?cd=yes so reload also works, and fix the last active tab.
2017-08-15 10:27:52 -06:00
nathangray
6566df4ff8
Fix opening the same URL twice did not go to the specified destination the second time
...
Eg. tracker edit went to tracker index the second time
2017-08-04 10:27:16 -06:00
nathangray
fe7e240321
Fix browser's range requests giving an empty file every second download attempt
2017-07-28 10:35:24 -06:00
nathangray
2bfe829dd8
Fix calendar entries opened from mail using a link could not be edited
2017-07-27 13:28:37 -06:00
Hadi Nategh
f600436898
W.I.P. SMIME:
...
- add notvalid state
- add metadata for key add to contact
2017-07-25 18:00:22 +02:00
Hadi Nategh
91fb816bb2
W.I.P. SMIME:
...
- Override verify method in order to pass certs bundle for verification
- Catch exception if decryption fails because encrypted message perhaps is not encrypted by receiver public key
- Define different states for signature verification
2017-07-25 17:13:49 +02:00
Ralf Becker
c6bf51180f
implement expiration time for Api\Cache::(g|s)etSession()
2017-07-24 17:05:31 +02:00
Hadi Nategh
4deaf6c09a
W.I.P. SMIME:
...
- Add missing parts from commit 0499f50943
2017-07-20 18:54:09 +02:00
Ralf Becker
b30c712e19
allow to add SQL with nummeric keys to Storage\Base::read() argument, like in ::search or Db::select
2017-07-19 17:39:22 +02:00
Hadi Nategh
2ead0ae2fb
W.I.P Smime:
...
- Implement passphrase missing exception
2017-07-19 15:41:55 +02:00
Hadi Nategh
7eccf7c0c9
W.I.P Smime:
...
- Migrate smime decryption to Mail_bo
2017-07-19 15:39:28 +02:00
Hadi Nategh
78fa78983c
Do not try to fetch mime part content if the content is already set
2017-07-14 09:50:19 +02:00
Stefan Werfling
3565f09ab0
Merge remote-tracking branch 'EGroupware/master'
2017-07-13 22:15:40 +02:00
Hadi Nategh
cb784c25af
W.I.P. SMIME:
...
- Fix warning of invalid arguments
- Fix sometimes signed content not returning correct mime part
2017-07-13 15:37:02 +02:00
Stefan Werfling
680c4c43d0
change comment example
2017-07-13 13:59:03 +02:00
Stefan Werfling
834f226465
add example to comment
2017-07-13 13:56:31 +02:00
Stefan Werfling
7f572fdeb5
4loader:
...
namespace: add else autoload app vendor
2017-07-13 13:35:02 +02:00
Hadi Nategh
c131be8c17
W.I.P. SMIME:
...
- Allow saveSession to save other values in cache besides mailbox
2017-07-12 18:32:46 +02:00
Ralf Becker
79750d22a5
fix fatal error if sambaadmin is not installed, but was before
2017-07-12 18:29:01 +02:00
Hadi Nategh
06673bcb03
W.I.P. SMIME:
...
- Remove multipart/signed from SMIME TYPES
2017-07-11 19:03:11 +02:00
Hadi Nategh
afe1459387
Smime W.I.P:
...
- Fix couple of IDE warnings
2017-07-10 11:12:35 +02:00
Hadi Nategh
eb6fc7a366
Smime W.I.P:
...
- Return extracted signed content as horde_mime_part object
2017-07-10 11:05:15 +02:00
Ralf Becker
d38cc11f7e
do NOT catch exceptions in hooks
...
maybe we need some parameter to hooks-calls, if all hooks should run, before exception get's re-thrown, as with this commit first exeception in a hook, will stop other hooks from running.
2017-07-08 18:05:15 +02:00
Hadi Nategh
d891035fbe
Smime W.I.P:
...
- Remove initial content-type header
- Do not set flowed if it's multipart/signed
2017-07-07 17:53:02 +02:00
Ralf Becker
0528b72744
* Mail/ActiveDirectory: fix empty identity in mail compose and account not active in AD controled mail-server
2017-07-05 17:55:49 +02:00
nathangray
ef6eb77991
Use static to get token so children can override it
2017-06-30 09:47:21 -06:00
Ralf Becker
0d80fdbcf9
* Univention: forwarding mails to external addresses added in UCS 4.2
2017-06-30 14:44:55 +02:00
Ralf Becker
69456307e4
fix at PHP 7.0 not working migrating vfs from db to filesystem (filemanager/cli.php migrate-db2fs)
...
migration loops forever, after migrating all files, as it does not detect no more files to migrate
2017-06-21 10:02:29 +02:00
Ralf Becker
4b379776b3
fix at PHP 7.0 not working migrating vfs from db to filesystem (filemanager/cli.php migrate-db2fs)
...
can not unset variable bind to column, as it looses its bind
2017-06-21 09:42:46 +02:00
Ralf Becker
f7a9c253a9
fix SQL error when migrating vfs from db to filesystem (filemanager/cli.php migrate-db2fs)
2017-06-21 09:04:44 +02:00
Ralf Becker
a8adf9dd54
lower number of rows read per query, to not run out of memory
...
(eg. pec instance)
2017-06-15 09:32:59 +02:00
Hadi Nategh
1fc4f79850
Revert commit 8340520589
and implement the fix in more sane way
2017-06-14 14:52:31 +02:00
Hadi Nategh
04850b50ba
Fix Disposition Notification title does not get correct translation, specifically for words with umlauts
2017-06-14 12:30:34 +02:00
Ralf Becker
f8839a488a
* Mail: fix PHP Fatal error under PHP 5.4
2017-06-13 11:02:30 +02:00
nathangray
c05fe756fd
Change eGroupWare -> EGroupware for notification sender
2017-06-12 14:13:29 -06:00
Ralf Becker
9a8be2d234
* Mail: display event-invitation, if mail contains just that and not the usualy alternatives
2017-06-12 15:29:20 +02:00
Ralf Becker
e2883e2387
* Mail: display event-invitation if it contains an attachment (eg. agenda)
2017-06-12 14:39:08 +02:00
Hadi Nategh
41caaafec9
Cover more range of long field headers
2017-06-12 11:04:10 +02:00
Hadi Nategh
276671a516
WIP SMIME:
...
- Override extractSignedContents in order to get content from signed message
2017-06-09 12:12:31 +02:00
Hadi Nategh
11c03702dd
Implement sub_app attribute for customfields widget, in order to be able to store sub-app's specific customfields
2017-06-07 17:54:09 +02:00
Hadi Nategh
fcbb31edb0
* Mail: Fix contents of emails with long header fields get disturbed while importing them into mail app
2017-06-07 11:04:19 +02:00
nathangray
19536925b5
Fix umlauts in favorite name would cause problems with group favorites until reload
2017-05-23 10:33:16 -06:00
Hadi Nategh
264d32d233
Fix mail shows empty mailboxes for some specific mail servers
2017-05-19 15:56:48 +02:00
Hadi Nategh
92b5133c5f
Missing part from previous commit
2017-05-18 15:15:24 +02:00
Hadi Nategh
83436212b7
* Mail: Fix Disposition Notification confirmation message always come in english regardless of locale settings
2017-05-18 14:50:31 +02:00
nathangray
b685b08f8d
Fix custom notifications CKEditor was broken, depending on how you loaded Admin
...
- also fixed if you login to admin app, then switch to another app and go to site configuration from the app's sidebox menu
2017-05-17 10:12:47 -06:00
Hadi Nategh
a74d3db798
Try to create home directory if it's not exist. Fix file upload to compose dialog fails if user has no run access to filemanager and has no home folder set
2017-05-16 16:51:35 +02:00
Ralf Becker
cac463749e
fix PHP Warning: explode() expects parameter 2 to be string, array given on line 375
2017-05-03 18:02:18 +02:00
nathangray
d277c8b6cf
Avoid warning about app list being null instead of array if there's no apps
...
Appears to happen when session expires
2017-04-27 08:10:15 -06:00
Hadi Nategh
a206ec325a
* ActiveSync: Fix error body part not set, while trying to forward an email
2017-04-26 17:23:48 +02:00
Hadi Nategh
73e2243b33
Fix email identity with no domain part set
2017-04-24 11:39:02 +02:00
nathangray
75124d097b
PHP v5.4 syntax
2017-04-21 15:04:24 -06:00
nathangray
f60461eb9f
PHP v5.4 syntax
2017-04-21 12:33:27 -06:00
nathangray
9d1756e5d9
Basic Etemplate testing
...
Some simple exec / process round-trip tests
2017-04-21 12:17:59 -06:00
Hadi Nategh
524296b757
* Mail: Fix vacation notice can not deal with aliases, which have no domain set
2017-04-21 11:08:39 +02:00
Hadi Nategh
848535874e
Set children of readonly tab to disabled to avoid server side validation error
2017-04-20 18:33:52 +02:00
Hadi Nategh
7b810b57f3
Adopt taglist server side accordingly regarding domainOptional attribute
2017-04-19 16:40:20 +02:00
Ralf Becker
a468c57284
allow hooks to send redirects via Exception\Redirect, thought only first redirect will be executed, if there are multiple hooks
2017-04-19 10:43:29 +02:00
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