Commit graph

48473 commits

Author SHA1 Message Date
brad2014
8d8bcea1d8 Move dav.invitation_link_recipients from getSystemValue to getAppValue
Per @georgehrke change request for PR #12392, instead of setting
dav.invitation_link_recipients in the system config.php file, we
set it in the database table oc_appconfig.

Furthermore, the value of the config variable is always a string:
'yes' to include links in imip mail, 'no' to exclude them, or a
comma-separated list of email addresses and/or domains for which
they should be included.  If not specified in oc_appconfig, the
default is 'yes'.

Signed-off-by: brad2014 <brad2014@users.noreply.github.com>
2019-07-31 12:55:50 -07:00
Brad Rubenstein
1a29239960 IMipPlugin: DRY up - move common test set-up into setUp function
Signed-off-by: Brad Rubenstein <brad@wbr.tech>
2019-02-28 01:46:07 +00:00
Brad Rubenstein
1dbda2604b IMipPlugin: Added unit test for dav.invitation_link_recipients support
Existing tests required modification to correctly mock up the new config
parameter fetch, and to set the RSVP flag for attendees (since the test
was detecting token generation, and we no longer generate tokens when
no RSVP is requested by the client or sent by nextcloud).

Signed-off-by: Brad Rubenstein <brad@wbr.tech>
2019-02-28 01:43:41 +00:00
Brad Rubenstein
79d20e4758 Revert 3ff3ed0c56 case-insensitive compares.
My oops.  The comparisons, which are copied from the IMipPlugin shipped with sabre-io/dav,
do not need to be case insensitive because the sender and recipient names are normalized by sabre,
(see calls to getNormalizedValue in voboject/lib/ITip/Broker.php).

Signed-off-by: Brad Rubenstein <brad@wbr.tech>
2019-02-28 01:43:07 +00:00
Brad Rubenstein
6421e30b2c Respect RSVP parameter for attendees when adding accept/decline buttons.
If RSVP=TRUE parameter is FALSE or absent for an ATTENDEE, then do no
present accept/decline buttons. The organizer isn't asking for an RSVP.

Signed-off-by: Brad Rubenstein <brad@wbr.tech>
2019-02-28 01:42:47 +00:00
Brad Rubenstein
15400dd18f corrected sample config
Signed-off-by: Brad Rubenstein <brad@wbr.tech>
2019-02-28 01:42:17 +00:00
Brad Rubenstein
31a25dc6b0 Customize presentation of accept/decline buttons in iMip mail
Fix Issue #11230
Only present accept/decline button links in iMip mail for REQUEST, not CANCEL or others.

Fix Issue #12156
Implement config setting "dav.invitation_link_recipients", to control
which invitation recipients see accept/decline button links.  The
default, for public internet facing servers, is to always include
them.  For a server on a private intranet, this setting can be set
to the email addresses or email domains of users whose browsers can
access the nextcloud server referenced by those accept/decline
button links. It can also be set to "false" to exclude the links
from all requests.

Signed-off-by: Brad Rubenstein <brad@wbr.tech>
2019-02-28 01:41:48 +00:00
Morris Jobke
db4af1d4ff
Merge pull request #14418 from nextcloud/bugfix/noid/missing-css-vars
Remove/replace missing css var usages
2019-02-27 17:07:52 +01:00
Julius Härtl
b4e6bffe1d
Remove/replace missing css vars
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-02-27 16:34:48 +01:00
Morris Jobke
e5cacc0fe3
Merge pull request #14343 from nextcloud/bugfix/14052-multiple-navigation-items
Parse multiple navigation items
2019-02-27 16:07:57 +01:00
Morris Jobke
3459ffc4d1
Merge pull request #13844 from felixn/bugfix/10862-trash-bin-ignores-trashbin_retention_obligation
Bugfix for issue 10862: Trash-bin ignores trashbin_retention_obligation
2019-02-27 15:55:20 +01:00
blizzz
3664e46944
Merge pull request #14399 from nextcloud/feature/noid/fix-top-margin-special-updater-url
Fix top margin for info text when non-default updater server URL is used
2019-02-27 14:59:20 +01:00
Morris Jobke
1a537bc766
Merge pull request #14402 from nextcloud/bugfix/noid/log-spam
Do not register unexisting section
2019-02-27 13:18:30 +01:00
Joas Schilling
24354bde1d
Do not register unexisting section
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-27 12:17:53 +01:00
Morris Jobke
2af1693226
Fix top margin for info text when non-default updater server URL is used
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-27 10:51:02 +01:00
John Molakvoæ
018343b7d4
Merge pull request #14389 from nextcloud/dav-photo-prop
Add HasPhoto DAV plugin
2019-02-27 10:20:56 +01:00
John Molakvoæ (skjnldsv)
cea53d0a07
Add HasPhoto DAV plugin
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-02-27 09:04:01 +01:00
Nextcloud bot
36b01e3c2d
[tx-robot] updated from transifex 2019-02-27 01:12:05 +00:00
Roeland Jago Douma
c2da3bf1d9
Merge pull request #14318 from DominikWA/RemoveUnnecessaryMetaTags
Fix referrer policy meta tags.
2019-02-26 21:31:30 +01:00
Roeland Jago Douma
73b8b5609c
Merge pull request #14333 from nextcloud/feature/sharee-explicit-lookup
Search sharees on lookup server when explicitly requested by user
2019-02-26 21:13:45 +01:00
Christoph Wurst
e930a0ccbe
Search sharees on lookup server when explicitly requested by user
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-02-26 19:44:49 +01:00
Joas Schilling
a3d936fbb7
Merge pull request #14385 from nextcloud/feature/noid/add-event-to-allow-to-filter-results
Add an event to the Autocomplete Controller to allow to filter the re…
2019-02-26 18:11:24 +01:00
Dominik Wasielewski
7ca5cfc8af Remove additional referrer policy meta tag.
Signed-off-by: Dominik Wasielewski <d-wasi@web.de>
2019-02-26 17:17:06 +01:00
Morris Jobke
0051bb7e4c
Merge pull request #14342 from nextcloud/bugfix/13911-occ-files-scan-elapsedtime-not-good-after-1day
Fix occ files:scan elapsed time
2019-02-26 15:46:22 +01:00
Joas Schilling
55f627d20b
Add an event to the Autocomplete Controller to allow to filter the results
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-02-26 15:32:14 +01:00
Morris Jobke
407c7c2ad3
Merge pull request #14346 from tomaski/master
fix(EMailTemplate): malformed HTML in some cases
2019-02-26 14:41:23 +01:00
Dominik Wasielewski
782e828889 Remove unnecessary meta tags.
Signed-off-by: Dominik Wasielewski <d-wasi@web.de>
2019-02-26 13:45:05 +01:00
Roeland Jago Douma
0b7b32e808
Merge pull request #14251 from tomasz-grobelny/upload_reliability_improvements
Limit number of simultaneous MKCOL requests to server to increase upload reliability
2019-02-26 11:33:44 +01:00
Roeland Jago Douma
b37f2492c7
Merge pull request #14227 from nextcloud/enh/comments_to_webpack
Move comments to webpack
2019-02-26 10:28:53 +01:00
Nextcloud bot
559a671205
[tx-robot] updated from transifex 2019-02-26 09:10:01 +00:00
Roeland Jago Douma
41ef3d860c
Move comments to webpack
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-26 09:10:23 +01:00
Roeland Jago Douma
fc105d3bb0
Merge pull request #14322 from nextcloud/users-management-enhancements
Users management enhancements and fixes
2019-02-26 08:57:40 +01:00
Nextcloud bot
876e2792d0
[tx-robot] updated from transifex 2019-02-26 01:12:12 +00:00
Tomasz Paluszkiewicz
52dcc9550c
changed order of methods
Signed-off-by: Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
2019-02-26 00:24:46 +01:00
Morris Jobke
dc2798460b
Merge pull request #14198 from nextcloud/bugfix/8647-exclude-file-name-patterns
Exclude file name patterns; ignore gentoo webapp files
2019-02-26 00:17:25 +01:00
Morris Jobke
58fd78951c
Merge pull request #14377 from nextcloud/fix/noid/typo
Fix typo in info log for autoconfig
2019-02-25 22:55:15 +01:00
Roeland Jago Douma
0af5e974bf
Compile assets
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-02-25 22:03:52 +01:00
Roeland Jago Douma
c7aa20eaec
Merge remote-tracking branch 'origin/master' into users-management-enhancements 2019-02-25 21:48:41 +01:00
Morris Jobke
5cbe6532a0
Fix typo in info log for autoconfig
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-25 21:28:22 +01:00
Morris Jobke
ea6ba53cc0
Merge pull request #14314 from nextcloud/enh/save_query
No need to check 2fa state on apptoken logins
2019-02-25 21:27:13 +01:00
Roeland Jago Douma
ee5e767801
Merge pull request #14347 from nextcloud/hide-collaboration-groups
allow group backends to mark that a group should now be shown in search dialogs
2019-02-25 21:23:59 +01:00
Morris Jobke
01d5cc1e7a
Merge pull request #14025 from nextcloud/fix/authtoken_idx_length
Fix authtoken index length
2019-02-25 21:23:30 +01:00
Morris Jobke
ee68e8f47e
Merge pull request #13514 from nextcloud/fix-public-grid-toggle
Fix grid toggle button on public page
2019-02-25 21:18:42 +01:00
Morris Jobke
dd95f430e0
Update autoloader files
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-25 20:08:46 +01:00
Morris Jobke
25bb0918fd
Merge pull request #14365 from nextcloud/enh/npm-makefile
Makefile to root folder
2019-02-25 17:16:39 +01:00
Robin Appelman
db750898ee
allow group backends to mark that a group should now be shown in search dialogs
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-02-25 16:06:09 +01:00
Morris Jobke
f7de518ec0
Exclude Makefile from check
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-25 15:49:29 +01:00
Daniel Kesselberg
df3d5e8509
two item => two items
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-25 14:52:14 +01:00
Daniel Kesselberg
b578fd855e
Generate id for navigation item
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2019-02-25 14:49:51 +01:00
Morris Jobke
d7538f9a61
Merge pull request #14369 from nextcloud/update-cabundle
Use latest ca-bundle.crt from https://curl.haxx.se/docs/caextract.html
2019-02-25 12:27:05 +01:00