]>
source.dussan.org Git - nextcloud-server.git/log
Joas Schilling [Mon, 29 Mar 2021 09:29:57 +0000 (11:29 +0200)]
Merge pull request #26352 from nextcloud/backport/26243/stable21
[stable21] Avatar privacy and new scope
Vincent Petry [Fri, 26 Mar 2021 15:54:47 +0000 (16:54 +0100)]
Capability for federated scope
Added additional capability in the provisioning API to signal whether
the federation scope values can be used.
This is based on whether the lookup server upload is enabled or not.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Thu, 25 Mar 2021 14:57:24 +0000 (15:57 +0100)]
Update autoloader for PlaceholderAvatar
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Thu, 25 Mar 2021 14:30:41 +0000 (15:30 +0100)]
Int tests for provisioning API scopes
Added integration tests for the scope attributes in the provisioning
API.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Thu, 25 Mar 2021 13:14:14 +0000 (14:14 +0100)]
Add known user check in avatar when v2-private scope
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Thu, 25 Mar 2021 12:04:39 +0000 (13:04 +0100)]
Update psalm-baseline for Avatar API quirks
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Thu, 25 Mar 2021 13:16:20 +0000 (14:16 +0100)]
Change account property capability
Include version number in capability
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Vincent Petry [Thu, 25 Mar 2021 11:21:03 +0000 (12:21 +0100)]
Added PlaceholderAvatar with own cached images
When avatar scope is private, the PlaceholderAvatar is used to deliver a
placeholder avatar based on the user's initials.
This was implemented as a separate class for now to avoid messing with
the existing UserAvatar implementation and its generated vs
non-generated logic.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Thu, 25 Mar 2021 10:16:21 +0000 (11:16 +0100)]
Add capability for editable scopes in provisioning API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 16:06:04 +0000 (17:06 +0100)]
Add property scope tests for AccountManager
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 15:17:28 +0000 (16:17 +0100)]
Enhance UsersControllerTest of provisioning API with scopes
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 14:32:51 +0000 (15:32 +0100)]
Expose avatarScope through provisioning API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 11:32:06 +0000 (12:32 +0100)]
OCS allow reading and writing account property scopes
Extends the provisioning API to allow a user to get and set their own
account property scopes.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Tue, 23 Mar 2021 15:59:05 +0000 (16:59 +0100)]
Make extra user profile fields always editable
The fields for phone number, address, website and twitter are now
editable regardless whether federated sharing and the lookup server
are enabled or not.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Tue, 23 Mar 2021 13:47:10 +0000 (14:47 +0100)]
Map old account scope properties to new names
Use new scope values in settings page.
Adjust all consumers to use the new constants.
Map old scope values to new ones in account property getter.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Tue, 23 Mar 2021 10:38:25 +0000 (11:38 +0100)]
Adjust scopes menu based on conditions
Now not all fields have the "v2-private" option in place.
Fix dropdown issue when a scope was stored that is not listed after
disabling the lookup server.
Whenever the lookup server upload is disabled, the scope menu is now
displayed where it makes sense to allow switching between the two private
scopes.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Mon, 22 Mar 2021 11:08:53 +0000 (12:08 +0100)]
Add new v2-private account scope
Added new v2-private account manager scope that restricts the scope
further by excluding public link access.
Avatars with v2-private account scope are now showing the guest avatar
instead of the real avatar.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Nextcloud bot [Mon, 29 Mar 2021 02:24:09 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sun, 28 Mar 2021 02:24:15 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Nextcloud bot [Sat, 27 Mar 2021 02:24:38 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Fri, 26 Mar 2021 09:44:59 +0000 (10:44 +0100)]
Merge pull request #26307 from nextcloud/backport/22201/stable21
[stable21] Delete old birthday calendar object when moving contact to another ad…
Roeland Jago Douma [Fri, 26 Mar 2021 09:44:43 +0000 (10:44 +0100)]
Merge pull request #26291 from nextcloud/backport/21484/stable21
[stable21] show better error messages when a file with a forbidden path is encountered
Roeland Jago Douma [Fri, 26 Mar 2021 09:44:03 +0000 (10:44 +0100)]
Merge pull request #26263 from nextcloud/backport/26046/stable21
[stable21] update icewind/smb to 3.4.0
Christian Weiske [Tue, 11 Aug 2020 20:13:55 +0000 (22:13 +0200)]
Delete old birthday calendar object when moving contact to another address book
When an contact is moved to another address book, the contact is copied to
the second address book.
During copying, the birthday event is created - but it gets the same UID
as the contact's birthday event in the first address book.
To prevent the "Calendar object with uid already exists" error that followed,
we need to delete the old entry before the new one is created.
Resolves: https://github.com/nextcloud/server/issues/20492
Signed-off-by: Christian Weiske <cweiske@cweiske.de>
John Molakvoæ [Fri, 26 Mar 2021 07:08:41 +0000 (08:08 +0100)]
Merge pull request #26298 from nextcloud/backport/26287/stable21
[stable21] Fix l10n
Nextcloud bot [Fri, 26 Mar 2021 02:25:43 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Thu, 25 Mar 2021 19:33:35 +0000 (20:33 +0100)]
Merge pull request #26301 from nextcloud/backport/26299/stable21
[stable21] Log when a storage is marked as unavailable
Morris Jobke [Thu, 25 Mar 2021 15:14:20 +0000 (16:14 +0100)]
Log when a storage is marked as unavailable
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Valdnet [Thu, 25 Mar 2021 09:26:50 +0000 (10:26 +0100)]
Fix l10n
Issue: #26286
Robin Appelman [Fri, 19 Jun 2020 12:57:58 +0000 (14:57 +0200)]
show better error messages when a file with a forbidden path is encountered
Signed-off-by: Robin Appelman <robin@icewind.nl>
Nextcloud bot [Thu, 25 Mar 2021 02:25:48 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Wed, 24 Mar 2021 16:32:36 +0000 (17:32 +0100)]
Merge pull request #26257 from nextcloud/backport/26198/stable21
[stable21] Handle limit offset and sorting in files search
Morris Jobke [Wed, 24 Mar 2021 16:14:19 +0000 (17:14 +0100)]
Merge pull request #26279 from nextcloud/backport/26255/stable21
[stable21] l10n: Separate ellipsis
Morris Jobke [Wed, 24 Mar 2021 16:13:44 +0000 (17:13 +0100)]
Merge pull request #26276 from nextcloud/backport/26265/stable21
[stable21] Fix casing of core test folder, bring back missing tests
Vincent Petry [Wed, 24 Mar 2021 14:22:35 +0000 (15:22 +0100)]
Revert controller tests to match stable21 API
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Valdnet [Tue, 23 Mar 2021 08:12:52 +0000 (09:12 +0100)]
l10n: Separate ellipsis
Unifying the text string with the others.
Morris Jobke [Wed, 24 Mar 2021 13:20:25 +0000 (14:20 +0100)]
Merge pull request #26249 from nextcloud/backport/25529/stable21
[stable21] Fix non LGC glyphs in avatars and txt file previews
Morris Jobke [Wed, 24 Mar 2021 13:09:03 +0000 (14:09 +0100)]
Merge pull request #26271 from nextcloud/backport/26270/stable21
[stable21] Catch invalid cache source storage path
Vincent Petry [Wed, 24 Mar 2021 09:26:06 +0000 (10:26 +0100)]
Fix language codes test result order
Fixes issue with Oracle by enforcing the order of the results to check.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 08:07:54 +0000 (09:07 +0100)]
Bring back forgotten tests
Remove "ocs-provider" test folder reference as it doesn't exist any
more.
Added back "Test" test subdir and fixed the tests inside.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 08:02:19 +0000 (09:02 +0100)]
Fix more controller tests in Core subdir
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Wed, 24 Mar 2021 07:48:28 +0000 (08:48 +0100)]
Fix more tests in the Core subdir
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Tue, 23 Mar 2021 19:40:28 +0000 (20:40 +0100)]
Fix core tests command for app enabling/disabling
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Vincent Petry [Tue, 23 Mar 2021 17:12:46 +0000 (18:12 +0100)]
Fix casing of core test folder
It seems Phpunit < 9 was case insensitive.
Fixed the phpunit config to target the correct name for the "Core" test
directory.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
John Molakvoæ (skjnldsv) [Wed, 24 Mar 2021 09:36:51 +0000 (10:36 +0100)]
Catch invalid cache source storage path
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Nextcloud bot [Wed, 24 Mar 2021 02:25:17 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Robin Appelman [Wed, 10 Mar 2021 14:31:09 +0000 (15:31 +0100)]
update icewind/smb to 3.4.0
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Fri, 19 Mar 2021 13:47:30 +0000 (14:47 +0100)]
use node search api for legacy file search endpoint
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Fri, 19 Mar 2021 13:29:08 +0000 (14:29 +0100)]
pass order from unified search to file search
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Fri, 19 Mar 2021 13:26:44 +0000 (14:26 +0100)]
handle ordering in folder search
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Fri, 19 Mar 2021 12:41:00 +0000 (13:41 +0100)]
folder filtering in sql
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Fri, 19 Mar 2021 12:35:37 +0000 (13:35 +0100)]
cleanup fileinfo creation
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 18 Mar 2021 16:44:30 +0000 (17:44 +0100)]
format
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 18 Mar 2021 16:38:31 +0000 (17:38 +0100)]
handle limit and offset in folder file search
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 18 Mar 2021 16:16:28 +0000 (17:16 +0100)]
only require user to be set in a query that handles tags
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 18 Mar 2021 15:35:41 +0000 (16:35 +0100)]
unify handling of Folder::search methods into "new" query objects
Signed-off-by: Robin Appelman <robin@icewind.nl>
Robin Appelman [Thu, 18 Mar 2021 15:22:29 +0000 (16:22 +0100)]
use "newer" node search api directly in unified search
Signed-off-by: Robin Appelman <robin@icewind.nl>
Nextcloud bot [Tue, 23 Mar 2021 02:24:15 +0000 (02:24 +0000)]
[tx-robot] updated from transifex
Daniel Calviño Sánchez [Sun, 7 Feb 2021 21:48:58 +0000 (22:48 +0100)]
Add OCC command to reset rendered texts
The command is meant to be used when the fonts used to render texts
("core/fonts/NotoSans-Regular.ttf" and "core/fonts/NotoSans-Bold.ttf")
are changed (for example, to add support for other scripts). The avatar
and text file previews will be removed, so they will be generated again
with the updated font when needed.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Fri, 5 Feb 2021 03:34:15 +0000 (04:34 +0100)]
Include additional scripts in Noto fonts
Generated avatars as well as text file previews are rendered using the
"core/fonts/NotoSans-Regular.ttf" font. The file was the standard hinted
"NotoSans-Regular.ttf" file from https://www.google.com/get/noto/.
However that file does not cover some non LGC (Latin, Greek, Cyrillic)
scripts, like Arabic, Devanagari or Hebrew, to name a few.
Markdown file previews also use "core/fonts/NotoSans-Bold.ttf", which is
in the same situation as the regular one.
Due to limitations in the TTF format it is not possible to provide a
single file for each style that includes all Noto fonts. However, it is
possible to add more scripts to the standard "NotoSans-Regular.ttf" and
"NotoSans-Bold.ttf" files (although no CJK (Chinese, Japanese, Korean)
glyph can be included due to the aforementioned limitations).
This commit replaces the standard files with an extended version created
using the Noto Tools. The build script (as well as a patch for the Noto
Tools) is also included for reference and to be able to update the font
files in the future if needed.
Due to the additional scripts added the font files are now much larger,
although this does not seem to increase the time spent rendering LGC
scripts.
Note that the file for the bold style still contains less scripts than
the regular one, as not all scripts supported by Noto have a bold
weight.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Morris Jobke [Mon, 22 Mar 2021 20:02:43 +0000 (21:02 +0100)]
Merge pull request #26177 from nextcloud/backport/26161/stable21
[stable21] Improve search results when only phonebook-matches can we autocompleted
Roeland Jago Douma [Mon, 22 Mar 2021 19:09:25 +0000 (20:09 +0100)]
Make psalm happy
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Joas Schilling [Wed, 17 Mar 2021 09:26:21 +0000 (10:26 +0100)]
Also limit to user group in case enumeration is enabled for groups and phonenumbers
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Wed, 17 Mar 2021 08:36:06 +0000 (09:36 +0100)]
Fix parameter types in docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Wed, 17 Mar 2021 08:19:42 +0000 (09:19 +0100)]
Add missing index on the user column
Signed-off-by: Joas Schilling <coding@schilljs.com>
Joas Schilling [Wed, 17 Mar 2021 08:02:37 +0000 (09:02 +0100)]
Improve search results when only phonebook-matches can we autocompleted
Signed-off-by: Joas Schilling <coding@schilljs.com>
John Molakvoæ [Mon, 22 Mar 2021 12:55:28 +0000 (13:55 +0100)]
Merge pull request #26238 from nextcloud/backport/26231/stable21
Valdnet [Mon, 22 Mar 2021 08:01:45 +0000 (09:01 +0100)]
l10n: Add changes to text string for user
Valdnet [Sat, 20 Mar 2021 14:37:32 +0000 (15:37 +0100)]
l10n: Add word user in ShareByMailProvider.php
Standardizing text strings with other Nextcloud applications.
Nextcloud bot [Mon, 22 Mar 2021 02:23:56 +0000 (02:23 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Sun, 21 Mar 2021 19:57:42 +0000 (20:57 +0100)]
Merge pull request #26227 from nextcloud/backport/26213/stable21
[stable21] Removed unnecessary padding
Nextcloud bot [Sun, 21 Mar 2021 02:23:20 +0000 (02:23 +0000)]
[tx-robot] updated from transifex
Sascha Wiswedel [Fri, 19 Mar 2021 13:24:10 +0000 (14:24 +0100)]
Removed unnecessary padding
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
Roeland Jago Douma [Sat, 20 Mar 2021 09:53:40 +0000 (10:53 +0100)]
Merge pull request #26215 from nextcloud/backport/26145/stable21
[stable21] add (hidden) option to always show smb root as writable
Nextcloud bot [Sat, 20 Mar 2021 02:23:52 +0000 (02:23 +0000)]
[tx-robot] updated from transifex
Robin Appelman [Tue, 16 Mar 2021 14:34:41 +0000 (15:34 +0100)]
add (hidden) option to always show smb root as writable
some smb servers are very insistent in reporting that the root of the share is readonly, even if it isn't.
This works around the problem by adding a hidden option to overwrite the permissions of the root of the share.
This can be enabled using
```bash
occ files_external:config <mount id> root_force_writable true
```
where you can find your mount id using
```bash
occ files_external:list
```
Signed-off-by: Robin Appelman <robin@icewind.nl>
Morris Jobke [Fri, 19 Mar 2021 14:21:17 +0000 (15:21 +0100)]
Merge pull request #26211 from nextcloud/backport/23718/stable21
[stable21] expand 'path is already shared' error message
Morris Jobke [Fri, 19 Mar 2021 14:19:19 +0000 (15:19 +0100)]
Merge pull request #26204 from nextcloud/backport/26200/stable21
[stable21] Update user share must use correct expiration validation
Vincent Petry [Fri, 19 Mar 2021 12:59:00 +0000 (13:59 +0100)]
Merge pull request #26119 from nextcloud/backport/26003/stable21
[stable21] Add getID function to the simplefile implementation
Robin Appelman [Tue, 27 Oct 2020 13:29:28 +0000 (14:29 +0100)]
expand 'path is already shared' error message
Signed-off-by: Robin Appelman <robin@icewind.nl>
Vincent Petry [Thu, 18 Mar 2021 16:12:28 +0000 (17:12 +0100)]
Update user share must use correct expiration validation
Updating a user or group share now uses the correct method for the
validation of the expiration date. Instead of using the one from links
it uses the one for internal shares.
To avoid future confusion, the method "validateExpirationDate" has been
renamed to "validateExpirationDateLink".
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Morris Jobke [Fri, 19 Mar 2021 08:18:49 +0000 (09:18 +0100)]
Merge pull request #26124 from nextcloud/backport/25533/stable21
[stable21] send share notification instead of erroring on duplicate share
Nextcloud bot [Fri, 19 Mar 2021 02:25:05 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Roeland Jago Douma [Thu, 18 Mar 2021 15:20:46 +0000 (16:20 +0100)]
Merge pull request #26122 from nextcloud/backport/26004/stable21
[stable21] Allow overwriting isAuthenticated
Vincent Petry [Thu, 18 Mar 2021 10:23:51 +0000 (11:23 +0100)]
Merge pull request #26192 from nextcloud/backport/25331/stable21
[stable21] Fix valid storages removed when cleaning remote storages
Daniel Calviño Sánchez [Tue, 26 Jan 2021 09:26:10 +0000 (10:26 +0100)]
Fix valid storages removed when cleaning remote storages
The remote URL of a share is always stored in the database with a
trailing slash. However, when a cloud ID is generated trailing slashes
are removed.
The ID of a remote storage is generated from the cloud ID, but the
"cleanup-remote-storage" command directly used the remote URL stored in
the database. Due to this, even if the remote storage was valid, its ID
did not match the ID of the remote share generated by the command and
ended being removed.
Now the command generates the ID of remote shares using the cloud ID
instead, just like done by the remote storage, so there is no longer a
mismatch.
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Daniel Calviño Sánchez [Fri, 22 Jan 2021 11:40:59 +0000 (12:40 +0100)]
Add integration tests for "sharing:cleanup-remote-storages" OCC command
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Vincent Petry [Thu, 18 Mar 2021 07:21:50 +0000 (08:21 +0100)]
Merge pull request #26087 from nextcloud/backport/26049/stable21
[stable21] limit constructing of result objects in file search
Nextcloud bot [Thu, 18 Mar 2021 02:25:13 +0000 (02:25 +0000)]
[tx-robot] updated from transifex
Morris Jobke [Wed, 17 Mar 2021 19:13:07 +0000 (20:13 +0100)]
Merge pull request #26062 from nextcloud/backport/25915/stable21
[stable21] Add appconfig to always show the unique label of a sharee
Morris Jobke [Wed, 17 Mar 2021 19:09:50 +0000 (20:09 +0100)]
Merge pull request #26090 from nextcloud/backport/25722/stable21
[stable21] apply object store copy optimization when 'cross storage' copy is wit…
Morris Jobke [Wed, 17 Mar 2021 19:06:29 +0000 (20:06 +0100)]
Merge pull request #26175 from nextcloud/backport/26076/stable21
[stable21] adds ldap user:reset command
Morris Jobke [Wed, 17 Mar 2021 19:03:58 +0000 (20:03 +0100)]
Merge pull request #26146 from nextcloud/backport/26013/stable21
[stable21] Return the fileid from `copyFromCache` and use it instead of doing an extra query
Arthur Schiwon [Thu, 11 Mar 2021 22:23:55 +0000 (23:23 +0100)]
adds ldap user:reset command
- allows to delete data of existing LDAP users, which otherwise is safe
guarded
- ensures that the user is not being deleted on LDAP through a plugin
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Morris Jobke [Wed, 17 Mar 2021 12:50:39 +0000 (13:50 +0100)]
Merge pull request #25943 from nextcloud/backport/25659/stable21
[stable21] catch notfound and forbidden exception in smb::getmetadata
Morris Jobke [Wed, 17 Mar 2021 12:50:32 +0000 (13:50 +0100)]
Merge pull request #26166 from nextcloud/backport/26131/stable21
[stable21] Fix default missing initial state for templates
Morris Jobke [Wed, 17 Mar 2021 12:47:03 +0000 (13:47 +0100)]
Merge pull request #26167 from nextcloud/backport/26072/stable21
[stable21] remove explicit fclose from S3->writeStream
kesselb [Wed, 17 Mar 2021 10:09:19 +0000 (11:09 +0100)]
Merge pull request #26162 from nextcloud/backport/26153/stable21
[stable21] Use correct exception type hint in catch statement
Robin Appelman [Thu, 11 Mar 2021 17:05:04 +0000 (18:05 +0100)]
remove explicit fclose from S3->writeStream
streams get closed automatically when dropped, and in some cases the stream seems to be already closed by the S3 library, in which case trying to close it again will raise an error
Signed-off-by: Robin Appelman <robin@icewind.nl>
John Molakvoæ (skjnldsv) [Mon, 15 Mar 2021 16:23:30 +0000 (17:23 +0100)]
Fix default missing initial state for templates
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>