Commit Graph

77 Commits

Author SHA1 Message Date
Christoph Wurst
fd243119ad Document when to use the NoTwoFactorRequired annotation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-14 17:28:51 +00:00
Christoph Wurst
85b4fa3628 Use deprecated directive instead of note
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-14 14:03:38 +00:00
Christoph Wurst
85ec5dfd81 Document GenericEvent deprecation in Nextcloud 22
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-14 09:26:11 +00:00
Joas Schilling
70383c8047
Merge pull request #9314 from nextcloud/backport/9309/stable23
[stable23] Document `IFactory::getUserLanguage()`
2022-11-09 14:03:06 +01:00
Joas Schilling
377647ed68 Document datetime support for the Entity class
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-09 12:21:45 +00:00
Joas Schilling
3490ca82f6 Document IFactory::getUserLanguage()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-09 12:20:54 +00:00
Christoph Wurst
5523ac42f9 Fix rendering of inline code block
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-31 14:40:13 +00:00
Daniel
d43e096eb5
Merge pull request #8511 from nextcloud/backport/8495/stable23
[stable23] Explain how to add several IDelegatedSettings in the key "settings"
2022-06-28 23:01:11 +02:00
Felix Schneider
60f46f1bdf Fix Typo
"addning" --> "adding"

Signed-off-by: Felix Schneider <fs@felix-schneider.org>

Signed-off-by: Felix Schneider <fs@felix-schneider.org>
2022-06-20 11:09:37 +00:00
zak39
43d9dc610a Explain how to add several IDelegatedSettings classes 'settings'
In this documentation, there is no explanation on how to add several IDelegatedSettings' classes for a function.

Signed-off-by: zak39 <fotia.baptiste@hotmail.com>
2022-06-03 14:45:57 +00:00
Vitor Mattos
ebcfcfa3f8 Fix appdata url
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-04-26 05:07:54 +00:00
Joas Schilling
2bd87cdd27 Fix transaction method name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-24 11:01:12 +00:00
Christian Wolf
5bac803205 Fixed some more links in the dev manual
Signed-off-by: Christian Wolf <github@christianwolf.email>
2021-11-24 18:12:08 +00:00
Christoph Wurst
efe6704776 Fix dev manual links to the app controllers page
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-24 18:12:07 +00:00
Joas Schilling
65302d916f
Merge pull request #7168 from nextcloud/rakekniven-patch-1
Add source examples for various used programming languages on how to add comments for translators
2021-10-29 08:39:42 +02:00
rakekniven
8b6e91eaef
Removed code block for vue
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-10-29 08:28:36 +02:00
rakekniven
a373ef8fcf
Changed wording for vue files
Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-10-28 17:23:31 +02:00
Carl Schwan
f31f02f611
Merge pull request #7178 from nextcloud/work/dev_settings
Add setting section in the app developement tutorial
2021-10-14 11:40:10 +02:00
Carl Schwan
bd3c9594bf
Various code modernisation in code examples
* Type hinting
* Use of ::class instead of string

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-14 11:17:39 +02:00
Carl Schwan
b83a86ef18
Add setting section in the app developement tutorial
Fix #7158

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2021-10-14 11:13:16 +02:00
Daniel
19a40e4e16
Merge pull request #7177 from Aeredren/patch-2
Typo
2021-10-11 19:23:04 +02:00
Aeredren
f23b1a5245
Correct value for appname variable
Here $class2->appName come from $AppName which come from $app = new \OCP\AppFramework\App('myapp');
So it should be 'myapp' and not 'appname'
2021-10-08 15:30:52 +02:00
Aeredren
bb442806e6
Typo 2021-10-08 14:08:22 +02:00
rakekniven
933fc971d2 Update l10n.rst
Improved comments.

Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com>
2021-10-05 10:35:01 +02:00
rakekniven
b0c8a7fd2d Merge branch 'master' into rakekniven-patch-1 2021-10-04 16:26:44 +02:00
Joas Schilling
1a72294771
Fix "'any' reference target not found: OCP\AppFramework\Http"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-14 09:53:11 +02:00
Joas Schilling
daecbdec07
Fix headline length errors
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-09-14 09:42:45 +02:00
Christoph Wurst
c2d4375701
Document correct db transaction handling
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-08-13 13:03:53 +02:00
Louis
0586b57bfa Add modern way of loading initial-state
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-07-07 16:39:30 +02:00
Christoph Wurst
3d60bece92
Fix dev manual inconsistencies
* Add missing debugging page
* Remove dead request lifecycle sub pages TOC
* Remove dead link to core translations page
* Revive link to basics debugging page
* Fix traige workflow image path
* Remove dead link to performance page

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-07-05 16:04:53 +02:00
Christoph Wurst
4b9a868a4c
Fix links from the request lifecycle to the app init docs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-07-05 09:46:01 +02:00
Vincent Petry
ebca005493
Remove DB schema docs, add note for NC 22
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-17 17:42:31 +02:00
Vincent Petry
1f5ffe8253
Remove traces of migrations:generate-from-schema
Remove traces of occ migrations:generate-from-schema which was removed
in NC 22.

Also adjust text that specifies that now ALL migrations:* commands are only
available in debug mode.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-06-17 15:33:53 +02:00
Lukas Reschke
cce504ca87
Schema -> ISchemaWrapper
This makes my autocomplete happier :)
2021-05-25 19:37:37 +02:00
Michael Hirschler
4a8de965b7
Update filesystem.rst 2021-01-18 16:30:29 +01:00
Christoph Wurst
730f23cbee
Recommend our own type constants instead of Doctrine's
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-15 10:12:29 +01:00
Christoph Wurst
806a44eb50
Fix upgrade info about the dbal type vs types class
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-01-12 09:44:10 +01:00
Morris Jobke
b75263ea8e
Merge pull request #5887 from nextcloud/tcitworld-patch-2
Fix another typo
2021-01-06 14:26:54 +01:00
Thomas Citharel
07831576c3
Fix another typo
Signed-off-by: Thomas Citharel <nextcloud@tcit.fr>
2021-01-05 15:36:01 +01:00
Thomas Citharel
362b344431
Fixed a typo in l10n docs
Signed-off-by: Thomas Citharel <nextcloud@tcit.fr>
2021-01-05 11:10:11 +01:00
Christoph Wurst
8cb613ff7b
Give devs a hint that it's their last chance ditch database.xml
It looks like 22 will drop the database.xml support alltogether, so
let's motivate devs for the mgiration if they haven't done already.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-12-14 10:26:13 +01:00
Christoph Wurst
9fcd5196bb
Drop misleading traces of app.php recommendations
The app init docs still recommended using app.php.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-24 10:51:33 +01:00
rakekniven
d8e15157cb
Added examples on how to add comments in different coding languages
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-11-19 18:43:33 +01:00
Morris Jobke
d0a2340c51
Merge pull request #5308 from Nienzu/fix_backgroundjob
Correct sample code dependency and some typo
2020-10-29 14:18:52 +01:00
Morris Jobke
b2a4abfe0c
Document subadmin events
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-29 11:21:10 +01:00
Morris Jobke
58d04b03cf
Fix space
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-29 09:46:01 +01:00
Morris Jobke
3496f555c5
Document Settings' BeforeTemplateRenderedEvent
See https://github.com/nextcloud/server/pull/22649

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-29 09:29:36 +01:00
Morris Jobke
f293c293ad
Document typed LDAP event for user and group backend
See https://github.com/nextcloud/server/pull/22221

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-10-29 09:19:24 +01:00
nienzu
4ad5b11ffd Correct sample code dependency and some typo
Signed-off-by: nienzu <ibqqz0602@gmail.com>
2020-10-28 16:33:46 +08:00
Mason Payne
b9f7c57409
Update required info about Hooks
Spent too much time looking for something to give me the right direction. Found this forum post from 2017.
https://help.nextcloud.com/t/filehook-not-working/14591/14

Signed-off-by: Mason Payne <gomas.bmw@gmail.com>
2020-10-15 21:37:47 -06:00