Commit Graph

2242 Commits

Author SHA1 Message Date
Ralf Becker
3161444d09 fix group memberships got lost editing primary-group of an account 2018-09-06 15:23:32 +02:00
nathangray
87ff796a09 Got tests to pass, cleanup debug 2018-09-05 12:33:37 -06:00
nathangray
c90927a306 Trying to get tests to pass
- Intermediate variable throughout
2018-09-05 12:04:09 -06:00
nathangray
d98930a4e8 Trying to get tests to pass
- Try using an intermediate variable
2018-09-05 11:49:10 -06:00
nathangray
7a53eba1a5 Trying to get tests to pass
- Need the app on the intermediate variable
2018-09-05 11:33:40 -06:00
nathangray
4a6e01a217 Trying to get tests to pass
- Try using an intermediate variable
2018-09-05 11:31:29 -06:00
nathangray
6b0e71a644 Trying to get tests to pass
- More debug on the post-change type array
2018-09-05 11:06:34 -06:00
nathangray
bc23882395 Trying to get tests to pass
- Debug the post-change type array
2018-09-05 10:44:36 -06:00
nathangray
ec9a219186 Trying to get tests to pass
- Better message for not having the preference type
- Fix missed in_array() typo
2018-09-05 10:27:19 -06:00
nathangray
cf1f99a828 Trying to get tests to pass
- Cast type array to array
- Try explicitly disconnecting db after test
2018-09-05 09:53:57 -06:00
nathangray
91b5782e5f PHP 5 array syntax 2018-09-05 09:23:28 -06:00
Ralf Becker
a4b4bae571 fix creation of new accounts failed 2018-09-05 17:17:59 +02:00
nathangray
5c3ac9e836 - Fix bug with setting & deleting default & forced preferences
- Add tests
2018-09-04 14:05:58 -06:00
nathangray
afd97a449b Some documentation updates 2018-08-30 11:12:15 -06:00
nathangray
79af5c31fd Add test for delete account command 2018-08-30 11:11:48 -06:00
nathangray
407d3bd3fb Add test for config command 2018-08-30 11:11:19 -06:00
nathangray
be6903b074 - Tests for user & group commands
- Count the admin history to check if commands are logging
2018-08-29 16:30:33 -06:00
nathangray
9681982ff0 Clean out test debug 2018-08-29 13:53:11 -06:00
nathangray
2dc59bc807 Some more test for ACL test on user now 2018-08-29 13:40:16 -06:00
nathangray
7b8387fd28 Some more debug for ACL test on group now 2018-08-29 13:31:48 -06:00
nathangray
532bcc5b07 Trying test on group now 2018-08-29 12:58:28 -06:00
nathangray
fe2f769e63 Come on Travis... Test works now? 2018-08-29 12:48:41 -06:00
nathangray
dc607edee4 Test works now? 2018-08-29 12:01:49 -06:00
nathangray
0b56d0b17f Some debug for test 2018-08-29 11:49:40 -06:00
nathangray
58b70c2d08 Test works now? 2018-08-29 11:37:05 -06:00
nathangray
0ff33ce751 Some more debug for test 2018-08-29 11:28:11 -06:00
nathangray
41f116c3e5 Some debug for test 2018-08-29 11:10:33 -06:00
nathangray
bc13945b7b Try reading the repository before checking.
I'm guessing here...
2018-08-29 10:47:57 -06:00
Ralf Becker
05541e5d9c adding own columns for admin_cmd attributes app and account and add columns to periodically run (and log) admin_cmds (db schema only so far) 2018-08-28 17:07:38 +02:00
nathangray
73b3354b12 Automatic tests for admin_cmd_acl 2018-08-27 16:00:04 -06:00
nathangray
63fddef20b Run ACL changes through an admin_cmd 2018-08-24 12:03:19 -06:00
Hadi Nategh
b4b2b9d5d2 Implement an admin-config setting to be able to disable PGP encryption feature 2018-08-23 16:58:14 +02:00
Ralf Becker
620e20f0e4 fix admin_cmd_user_preferences to use values given and not global preferences object 2018-08-23 15:25:49 +02:00
Ralf Becker
c93719bc02 allow to document group deletion 2018-08-23 15:25:49 +02:00
Ralf Becker
51166dc338 allow to document account deletion 2018-08-23 12:11:33 +02:00
nathangray
5a7c65d0f7 Make sure account_lid is there for hooks, even if not passed in 2018-08-22 09:53:54 -06:00
Hadi Nategh
886bc915cf Preserve the old values to be used in values comparison 2018-08-22 12:27:17 +02:00
Ralf Becker
030eb89f84 using standard site-configuration plus some hooks 2018-08-22 12:15:42 +02:00
Ralf Becker
a53560a546 try fixing "Unsupported operand types" reported by Alexandros
Probably cause by Policy app not being installed.
2018-08-22 11:10:11 +02:00
Ralf Becker
613455a784 fix not stored multiselect / array-values in site-configuration
also added optional appname for apps storing their config under "phpgwapi" like eg. addressbook
2018-08-21 17:29:02 +02:00
Hadi Nategh
563a356eaa Implement admin_cmd for preferences 2018-08-21 14:42:56 +02:00
Ralf Becker
1115db478f using new admin_cmd_config to log and document config changes 2018-08-21 10:23:25 +02:00
Ralf Becker
b1b31e2b0b fix not working admin >> site configuration 2018-08-20 17:27:11 +02:00
nathangray
bfdc1ca966 Admin - Changes for edit group to only log changed fields 2018-08-17 14:53:40 -06:00
Ralf Becker
e50ef193a5 allow application config to use tabs and fall back to (empty) tabs widget in admin.site-config 2018-08-17 14:39:27 +02:00
nathangray
4b354022cb Admin - make sure correct tree leaf gets selected when loading 2018-08-09 15:33:10 -06:00
Ralf Becker
e53482289a fix not displayed requrested and comment 2018-08-03 15:38:34 +02:00
Ralf Becker
7e4c23ca56 fix not being able to change memberships (array_diff_assoc compares everything as string) 2018-08-03 12:41:53 +02:00
Ralf Becker
7f662f8f70 fix edit user to log old values and only run if there is any change 2018-08-03 11:56:34 +02:00
Ralf Becker
250b56589c WIP allow to document admin actions, if EPL policy app is installed 2018-08-02 11:43:56 +02:00
nathangray
0e1d21e427 Admin - get category colors properly updating by doing a full reload
Also maybe squashing a bug where admin would switch to iframe
2018-07-31 09:31:11 -06:00
nathangray
459f55d556 Also reload the colors for app category if color changes 2018-07-27 10:10:38 -06:00
Ralf Becker
484ea5cc60 * Admin: fix admin-cli.php to understand bcrypt hashes in header.inc.php 2018-07-09 15:45:31 +02:00
Hadi Nategh
5333be69b3 Fix acl dialog gets scrollbar when editing rights 2018-07-06 14:33:40 +02:00
Hadi Nategh
f586b9e6e9 Add more rows to category selection in global category edit dialog 2018-06-18 11:50:37 +02:00
nathangray
460206a208 Some changes for easier extension 2018-06-11 10:24:31 -06:00
Hadi Nategh
0d806be6fe Make category owner a taglist selection 2018-06-08 16:43:38 +02:00
Ralf Becker
ec9bbf28d3 pending stuff to improve admin cmd log required by new addressbook policies 2018-06-04 11:49:24 +02:00
Ralf Becker
84b715c5af * Admin: allow to show last login, IP and password change in list 2018-06-01 14:46:52 +02:00
Hadi Nategh
6e33795cac Add missing translation 2018-05-29 11:28:46 +02:00
Hadi Nategh
e9f1e8bcad Implement taglist-thumbnail for rest of upload image fields in admin site configuration 2018-05-29 11:05:08 +02:00
Ralf Becker
92f85df3cb Add translation for background image upload 2018-05-28 18:36:46 +02:00
Hadi Nategh
b205e2f4a2 Implement new kind of taglist to show thumbnail of set value 2018-05-28 17:41:52 +02:00
Hadi Nategh
6aeb7a5c1e * Admin: Implement new feature to upload multiple images for login background image in site-configuration and show them randomly. 2018-05-28 15:31:32 +02:00
Hadi Nategh
fefe0e803f Exclude more apps from mobile available app list 2018-05-25 16:58:13 +02:00
Ralf Becker
3d1ef4512c * Admin: fix bulk password reset to work on minimal install / no longer require old phpgwapi 2018-05-25 15:09:38 +02:00
Hadi Nategh
6c9cf51a00 * Admin: Exclude not supported apps from mobile's available app list 2018-05-22 14:41:08 +02:00
nathangray
8082ce4c65 Fix missing icon on Category change owner cancel button 2018-05-14 13:40:58 -06:00
Ralf Becker
e5a7156544 Translations from Ilias Chasapakis 2018-05-14 18:55:38 +02:00
U-quokka\komaba
2da4ec91db update Japanese language files. 2018-05-12 08:24:38 +09:00
Ralf Becker
ba366467b0 * Admin/Mail: fix saving mail-accounts for multiple accounts 2018-05-04 15:07:06 +02:00
Ralf Becker
909d7e0228 do NOT update timestamps when migrating account_id eg. to LDAP or AD 2018-04-24 11:27:10 +02:00
Ralf Becker
d458b8dd00 Translations from Stefan Unverricht 2018-04-19 17:53:31 +02:00
nathangray
709c4e4f1f Fix some translation problems, reported by Stefan Unverricht 2018-04-16 09:32:48 -06:00
Hadi Nategh
c0b5a7c44e Add and fix some translations, thanks to Stefan Unverricht. 2018-04-11 15:19:39 +02:00
Ralf Becker
104cae6081 fix smime key got immediatly deleted again 2018-04-10 14:52:14 +02:00
Ralf Becker
e72c7c76b6 * EMail/sMime: allow non-admin users to upload their keys 2018-04-10 13:15:09 +02:00
Ralf Becker
544dc160ca remove destination ID check, as it only makes sense on chaning single IDs, but might stall migration of whole instances 2018-04-10 12:45:40 +02:00
Hadi Nategh
9fc3dc2e55 Add some translations from translation server 2018-04-10 11:56:48 +02:00
Ralf Becker
bb2b074963 untested code to make LDAP --> SQL migration work by automatically renumbering groups with identical nummeric ID as users 2018-04-07 12:20:00 +02:00
Hadi Nategh
0ff93f38f9 Add more translations, thanks to Evgen Vodopivec. 2018-04-04 10:01:13 +02:00
Ralf Becker
2e04407ed7 fix typo 2018-04-03 20:15:43 +02:00
Ralf Becker
810a90af56 do not log succesful clearing of instance cache 2018-03-19 11:25:33 +01:00
Ralf Becker
dcb78d9776 remove due to own table in 17.1 no longer needed migration of (private) custome-fields 2018-03-14 14:50:46 +01:00
Ralf Becker
a1fa2246af hook to allow apps to migrate own config etc. in AD/LDAP account_id migration 2018-03-14 14:50:45 +01:00
Ralf Becker
ddd4127ee7 * AD/LDAP migration: change favorites and index states too 2018-03-12 21:22:12 +01:00
nathangray
17a759dbe1 Admin - Can't only delete categories for the selected app. Globals only deletable through Admin 2018-02-21 14:41:34 -07:00
Ralf Becker
8b88e748f7 * Admin: new config to generate no or lowercase email addresses for new users 2018-02-20 09:15:42 +01:00
Ralf Becker
ed68be0cdf * Mail/SMime: fix not working storage of public key in mail account
We failed silently, when browser reported something different then "application/x-pkcs12" eg. "application/octet-stream". Now we let OpenSSL decide if file contains a valid SMime key.
2018-02-15 14:45:47 +01:00
Hadi Nategh
b9dea1fe8e Add some translations 2018-02-08 12:11:57 +01:00
nathangray
cf2b759054 * Admin - fix group list filter & sort
- Remove created & modified columns since they're not stored for groups
- Fix email sort
- Fix search returned all results
2018-01-30 11:28:27 -07:00
nathangray
504e70ae82 Fix missing translations, found by Stefan Unverricht
Also fix a design complaint
2018-01-29 16:31:58 -07:00
nathangray
33d5c3059b Admin - translations from Stefan Unverricht 2018-01-23 14:46:14 -07:00
Hadi Nategh
a107d0a2ed Check only the appname cause not all apps may have title implemented 2018-01-23 12:33:48 +01:00
Ralf Becker
9b1cce9fcf warn if admin tries to rename user anonymous, as it breaks file sharing and Collabora 2018-01-22 12:42:09 +01:00
Hadi Nategh
62b00b3f75 Add/fix some translations 2018-01-04 11:34:26 +01:00
Hadi Nategh
8b6acb00fa * Admin: fix site-config not working in mobile template 2018-01-03 15:01:45 +01:00
nathangray
71a7609b34 * Admin - update config to show correct default values 2017-12-05 11:01:57 -07:00
nathangray
8114d14e36 * Admin - ACL dialog - fix ACL levels not updated when changing app or user 2017-11-17 10:05:46 -07:00
nathangray
0e019deb3b Admin - Fix bug limiting group nextmatch to 20 rows at a time 2017-11-16 11:27:59 -07:00
Ralf Becker
f21b13090f pending translations from our translation server 2017-11-04 09:36:02 +01:00
nathangray
42ca76e824 Add a column for run rights, each of which gets their own row 2017-11-02 10:24:47 -06:00
nathangray
1b64ccc996 Admin ACL export
- Suppress 'All customfields' field, it's not applicable
- Add default definition
2017-10-31 11:22:47 -06:00
nathangray
6272adfa16 Make group members & applications fully visible when printing 2017-10-30 10:14:50 -06:00
Ralf Becker
5d6deed27d add token to deny access 2017-10-27 16:22:56 +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
Ralf Becker
65b02c0246 bump verison to 17.1 2017-10-22 12:56:58 +02:00
Ralf Becker
c3ae6388ef fix warning 2017-10-21 12:29:46 +02:00
Hadi Nategh
1903025cc9 Allow folder notification on INBOX only for popup_only chain 2017-10-06 17:38:26 +02:00
nathangray
7e4570d46f Admin - Add a group list 2017-09-19 11:11:21 -06:00
nathangray
e456f7800c Admin - add ACL export 2017-09-18 14:48:24 -06:00
Hadi Nategh
ef50e36b49 Fix toolbar button in mail account dialog for mobile view 2017-09-14 12:03:11 +02:00
Hadi Nategh
3882293c85 S/MIME:
- Implement encryption tab in mail account dialog for mobile view
2017-09-14 11:50:06 +02:00
Hadi Nategh
1d24707143 S/MIME:
- Allow user to upload certificate even for readonly account
- Allow user to delete certificate
2017-09-13 16:05:43 +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
Hadi Nategh
668cbaaacb S/MIME:
- Store email address associated with certificate into cred_email
2017-08-28 12:35:21 +02:00
Hadi Nategh
63440ddbc5 S/MIME:
- Keep private key encrypted
- Show password field always
2017-08-24 18:15:40 +02:00
Hadi Nategh
7dc5c2e2b0 W.I.P. S/MIME:
- Make p12 password field visible after file gets uploaded
- Add icons to operational buttons
- Fix some of the misalignments
2017-08-23 11:19:20 +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
Ralf Becker
472a3a242e need to read identity first 2017-07-12 19:12:14 +02:00
Ralf Becker
d801769d52 if admin explicitly set a non-alias, we need to add it to aliases to keep it after storing signature by user 2017-07-12 18:58:47 +02:00
Ralf Becker
a839e46965 fix fatal error if sambaadmin is not installed, but was before (fix typo in template) 2017-07-12 18:50:36 +02:00
Ralf Becker
79c1d2e41c * Admin/EMail: allow admins to always add arbitrary aliases, even if not allowed for regular user 2017-07-12 18:43:05 +02:00
nathangray
b28610a626 Fix ACL dialog actions don't work on first load via top link 2017-06-12 13:14:41 -06:00
Ralf Becker
9be1804aa9 pending FR and ES translations from our translation server 2017-06-12 18:00:35 +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
Ralf Becker
9746e1533e remove (not supported) parameters after #!/usr/bin/env php 2017-06-07 15:08:30 +02:00
Ralf Becker
a9e750c8b2 WIP spam workflow and SpamTitian integration 2017-05-31 15:10:58 +02:00
Ralf Becker
79e4b6b837 change capitalisation to "EGroupware" 2017-05-31 14:04:37 +02:00
Hadi Nategh
9f98d0fe56 WIP of background & logo image upload into instance dir:
- Add some translation
- Add filemtime timestamp into url
2017-04-28 16:30:01 +02:00
Hadi Nategh
5a2df924eb WIP of background & logo image upload into instance dir:
- Fix images with spaces in filename do not get loaded
2017-04-28 14:10:20 +02:00
Hadi Nategh
c55e0bdae3 WIP of background & logo image upload into instance dir:
- Generate url for anon_images.php
2017-04-28 12:40:33 +02:00
Hadi Nategh
cd72062f00 WIP of background & logo image upload into instance dir:
- Change images directory to unknown_images
2017-04-28 10:43:11 +02:00
Hadi Nategh
33bc6f6ce0 WIP of background & logo image upload into instance dir 2017-04-27 16:50:35 +02:00
Hadi Nategh
009682b949 * Mail: Make sure there's folder to notify before attempting to write the notifications 2017-04-24 14:28:08 +02:00
Hadi Nategh
73e2243b33 Fix email identity with no domain part set 2017-04-24 11:39:02 +02:00
Hadi Nategh
83768e932d * Mail: Fix create new identity can not save email address 2017-03-30 16:05:22 +02:00
Ralf Becker
e2d25e741b pending CS and FR changes from our translation server 2017-03-15 11:54:24 +01:00
Ralf Becker
4a147c74a1 fix no longer working db-creation after 6dfe752b7f allow to switch whole database readonly 2017-03-13 16:41:12 +01:00
nathangray
e34e679733 Fix unable to add ACLs 2017-03-09 08:55:13 -07: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
608f9d1142 Some translation improvements from Stefan Unverricht 2017-02-27 11:14:31 -07:00
nathangray
afa19c7d30 Allow changing category owner via context menu for application categories 2017-02-13 10:52:31 -07:00
Hadi Nategh
262d245029 WIP of modern login page:
- Add login_background option to admin site configuration
2017-02-10 16:02:32 +01:00
Hadi Nategh
c4245111e5 Fix mail account dialog always gets scrollbar 2017-02-10 11:18:20 +01:00
nathangray
33680d4467 * Admin: Save the bulk password reset notification email for next time 2017-02-02 08:45:58 -07:00
Hadi Nategh
c78042d522 Update PUBLIC ID of etemplate2.dtd in all templates 2017-02-01 09:59:37 +01:00
nathangray
eb51009ebd Remove unexecutable code
(to satisfy Scrutenizer)
2017-01-31 08:14:28 -07:00
Ralf Becker
988c79319d pending it+sk translations from our translation server 2017-01-31 09:31:57 +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