Commit Graph

253 Commits

Author SHA1 Message Date
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
Alexey Abel
d7ca49af41 Remove non-existing event
There is no string `CreateUserEvent` in the entire nextcloud-server code.
2021-06-08 01:48:25 +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
nienzu
b6cb8489f4 Fix spelling error in migrations
Signed-off-by: nienzu <ibqqz0602@gmail.com>
2020-10-14 17:24:30 +08:00
Morris Jobke
8752c1d9cc Merge pull request #5157 from dassio/tutorial_migration_command
add migration to tutorial
2020-10-06 09:02:09 +02:00
Christoph Wurst
5111715c34 Migrate logging docs to new interface
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 14:30:43 +02:00
dassio
097b700fed change to suffixing
Signed-off-by: dassio <dassio@icloud.com>
2020-10-04 17:11:38 +01:00
dassio
7f3adcb809 add migration to tutorial
Signed-off-by: dassio <dassio@icloud.com>
2020-10-04 17:11:32 +01:00
nienzu
dd19c90353 Correct the sample code for middleware 2020-09-29 11:17:48 +08:00
Roeland Jago Douma
224f72a093 Merge pull request #5040 from nextcloud/enh/getAppFolder_is_dead
getAppfolder is dead
2020-09-24 08:31:26 +02:00
Roeland Jago Douma
3826534ee5 enh appdata docs
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-23 20:42:19 +02:00
Roeland Jago Douma
ee8b49b0d9 getAppfolder is dead
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-09-23 20:30:22 +02:00
J0WI
122ed88e53 Update urls to HTTPS
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-09-17 20:33:30 +02:00
ecsecta
34605cce0d Fix name of deprecated oc_requesttoken
oc_requesttoken is marked as deprecated.
2020-09-10 09:54:53 +02:00
Morris Jobke
5e6b9a714c Merge pull request #3124 from jivanpal/patch-2
Update routing.rst; corrected parameter name from `method` to `verb`
2020-09-09 18:29:45 +02:00
Klaus
65ca339f34 Add example of n function 2020-09-09 11:36:58 +02:00
Jivan Pal
2e02596b06 Update routing.rst; corrected parameter name from method to verb 2020-08-20 18:12:06 +01:00
Morris Jobke
c4158932a8 Merge pull request #2765 from nextcloud/georgehrke-patch-1
Update documentation as per server#22041
2020-08-19 19:34:48 +02:00
Glen
67cf4b1729 Update dependency_injection.rst
Dependency Injection and the art of Services and Containers Tutorial is unavailable due to being private on YouTube. Removed the link.

Signed-off-by: Glen Clark <glenuk@gmail.com>
2020-08-18 08:38:18 +01:00
Morris Jobke
ed635f5e9f Fix underline
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-13 08:13:28 +02:00
Morris Jobke
9b7234ea79 Add TwoFactorProviderDisabled event
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-13 07:26:27 +02:00
Georg Ehrke
20d37d52b4 Update documentation as per server#22041 2020-08-10 15:31:52 +02:00
Morris Jobke
0165943a36 Add deprecation notice for OCP\Group\Events\BeforeUserRemovedEvent
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-10 15:05:14 +02:00
Morris Jobke
da43209771 Document existing events
* LoadAdditionalScripts (@rullzer) - https://github.com/nextcloud/server/pull/16641
* LoadViewerEvent (@skjnldsv) - https://github.com/nextcloud/viewer/pull/271
* RegisterDirectEditorEvent (@juliushaertl) - https://github.com/nextcloud/server/pull/17625
* typed events for files scanner (@christophwurst) - https://github.com/nextcloud/server/pull/18351
* typed events for group mangement (@christophwurst) - https://github.com/nextcloud/server/pull/18350
* AddContentSecurityPolicyEvent (@rullzer) - https://github.com/nextcloud/server/pull/15730
* UserLiveStatusEvent (@georgehrke) - https://github.com/nextcloud/server/pull/21186
* password_policy events (@christophwurst) - https://github.com/nextcloud/server/pull/18019
* AddFeaturePolicyEvent (@rullzer) - https://github.com/nextcloud/server/pull/16613
* ShareCreatedEvent (@rullzer) - https://github.com/nextcloud/server/pull/18384
* LoadSettingsScriptsEvent (@blizzz) - https://github.com/nextcloud/server/pull/21475
* flow events (@rullzer) - https://github.com/nextcloud/server/pull/18535

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-08-10 14:22:20 +02:00
Morris Jobke
8776c169e6 Add OCA\DAV\Events\SabrePluginAuthInitEvent event
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-23 21:47:02 +02:00
Christoph Wurst
cf126f82c4 Merge pull request #2201 from nextcloud/new-events
New events for typed event handling
2020-07-17 09:10:41 +02:00
Christoph Wurst
eb3228f05c Document PSR-11 integration
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-16 14:34:41 +02:00