Commit Graph

47 Commits

Author SHA1 Message Date
Christoph Wurst
deb51a5240 Use captions to better highlight codeblock file names
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-14 15:21:36 +01:00
Christoph Wurst
20e2d74805 Document app bootstrap boot and injectFn
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-14 12:38:31 +01:00
Christoph Wurst
1053dfadf7 Document deprecation of pascal case DI container parameters
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-03 14:55:35 +01:00
Andrew Dawes
e1bc8c6667 Fixed several typos and grammar errors
Signed-off-by: Andrew Dawes <andrewsdawes@gmail.com>
2022-10-25 07:32:25 +02:00
John Molakvoæ
503e48fc82 Merge pull request #8020 from MarcelRobitaille/patch-2 2022-08-13 13:53:51 +02:00
John Molakvoæ
efe787166c Update developer_manual/app_development/intro.rst
Co-authored-by: Carl Schwan <carl@carlschwan.eu>
2022-08-13 13:05:59 +02:00
Carl Schwan
888ad06e72 Cleanup part of the developer api
- Port away from deprecated stuff
- Update php syntax

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-05-16 15:53:27 +02:00
Marcel Robitaille
dde067c2dc Add documentation for developping an existing app
The App development » Introduction documentation only discusses how to create a new app. Wanting to contribute to an existing app, I was confused by this. Once I figured out how to set everything up so that I could see my changes to the app in my development version of Nextcloud, I thought I would make this pull request to add this information to the docs.

Signed-off-by: Marcel Robitaille <mail@marcelrobitaille.me>
2022-03-16 10:12:00 -04:00
Helen Koike
33bb9d9f30 Remove meaningless note regarding "testEcho" from tutorial
"testEcho" method isn't mentioned anywhere else in the tutorial and it
is not present in the app-tutorial git repository either.

Executing `git log -S testEcho` in both repositories doesn't show the
string in any other place, so remove the note.

Signed-off-by: Helen Koike <helen@koikeco.de>
2022-03-10 12:09:29 -03:00
Christian Wolf
80234e56a5 Removed issues in developer manual
Signed-off-by: Christian Wolf <github@christianwolf.email>
2021-12-16 18:30:43 +01:00
Christoph Wurst
c340dbce3c Document the process of releasing an app updates as maintainer
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-12-14 11:47:56 +01:00
Christian Wolf
39db36fdb2 Fixed some more links in the dev manual
Signed-off-by: Christian Wolf <github@christianwolf.email>
2021-11-24 14:50:02 +01:00
Christoph Wurst
334d2865db Fix dev manual links to the app controllers page
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2021-11-22 10:38:11 +01: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
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
Seth Falco
3c9b9487ac typo: update formatting and correct capitalization
Signed-off-by: Seth Falco <seth@falco.fun>
2021-09-02 13:31:26 +02:00
Daniel Kesselberg
adc48b1b4a Update example code for newer phpunit
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-08-17 14:52:16 +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
schrotie
2de73e45a9 Update tutorial with dev-setup alternative
Added a much simpler and less intrusive alternative development setup using podman or docker.
2021-04-28 12:03:38 +02:00
HouraisanNEET
a9a0941753 Revert namespace change
Signed-off-by: HouraisanNEET <HouraisanNEET@users.noreply.github.com>
2021-04-22 22:28:44 +08:00
HouraisanNEET
060e1567b6 Update bootstrap.rst
Fix syntax and errors.

Signed-off-by: HouraisanNEET <>
2021-04-09 19:36:33 +08:00
rakekniven
72e4a35ebd Merge pull request #6344 from HouraisanNEET/master
Update bootstrap.rst
2021-04-07 14:31:25 +02:00
HouraisanNEET
1be556b4d5 Update bootstrap.rst
Syntax fix
2021-04-06 19:31:04 +08:00
Morris Jobke
5f1ca13ddb Merge pull request #6093 from michalhuras/patch-3
Update tutorial.rst
2021-03-16 22:36:35 +01:00
tflidd
c715511714 Merge pull request #6096 from andristeiner/patch-2
fix PHP syntax in boostrap example
2021-02-16 23:34:24 +01:00
Andri Steiner
b1673a9164 fix PHP syntax in boostrap example
Signed-off-by: Andri Steiner <andri@opsone.ch>
2021-02-09 11:25:34 +01:00
Tobias Kaminsky
d480f93ff9 DI is now case sensitive: changing IDBConnection 2021-02-04 09:09:44 +01:00
Michał
8a13faa6c0 Update tutorial.rst
Typing error (excute->execute)
2021-01-31 11:46:30 +01:00
Morris Jobke
525b0340c1 Merge pull request #5453 from nextcloud/fix/no-include-error-suppress
Do not suppress include_once errors for the composer autoloader
2020-12-01 10:54:01 +01:00
Morris Jobke
9f53e22f92 Merge pull request #5455 from nextcloud/fix/app-init-app.php
Drop misleading traces of app.php recommendations
2020-12-01 10:33:37 +01:00
Christoph Wurst
1790d6b074 Merge pull request #5459 from nextcloud/enhancement/dev-dependency-management
Add (composer) dependency management docs
2020-11-26 11:08:27 +01:00
Christoph Wurst
c07a59c43b Link from classloader docs to composer docs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-26 09:42:03 +01:00
Christoph Wurst
43a0983098 Document info.xml linting and validation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-26 09:07:05 +01:00
Christoph Wurst
11e2be5f25 Add (composer) dependency management docs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-24 11:07:10 +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
Christoph Wurst
d1fd9c0156 Do not suppress include_once errors for the composer autoloader
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-24 10:41:58 +01:00
PanCakeConnaisseur
bc9de46f6b Make app in path lowercase
Co-authored-by: Morris Jobke <hey@morrisjobke.de>
2020-10-15 15:29:55 +02:00
PanCakeConnaisseur
78502dba12 Add noob friendly explanations and fix wording
Added some more explicit info for people unfamiliar with autoloading that might help understanding. Also fixed some wording and grammar mistakes and made naming coherent.

Signed-off-by: Alexey Abel <dev@abelonline.de>
2020-10-10 07:48:04 +02:00
nienzu
3c2d2a1c0a Correct some spelling errors in app tutorial 2020-10-08 17:56:12 +08:00
dassio
7f3adcb809 add migration to tutorial
Signed-off-by: dassio <dassio@icloud.com>
2020-10-04 17:11:32 +01:00
Joas Schilling
9feaf208fe Add a hint about semantic versions
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-30 16:21:52 +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
dassio
7eac51fbbf add example for type annotattion
Signed-off-by: dassio <dassio@icloud.com>
2020-08-19 23:10:03 +01:00
Christoph Wurst
66b12ad7a0 Document the inclusing of a composer autoloader
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-11 09:30:03 +02:00
Christoph Wurst
e830ceb5e4 Document unified search API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-24 14:40:35 +02:00
Christoph Wurst
33be7a9408 Document new bootstrap process
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-23 15:29:36 +02:00
Christoph Wurst
2647cd93c7 Restructure the dev manual
This moves lots of pages around. The high-level changes are

* Better main sections, so it's more *general*, *into*, *basics* and *details*
* Move more general topics to a *Basic* section, which are not
  app-specific
* Remove app docs to the stuff that is likely used, anything else goes
  into "Digging deeper"
* Move general guides into a prologue
* Try to *compress*/combine some pages with similar content
* Try to have better consistencs on level ob abstraction across pages
* Split app development and maintenance pages into two sections
* Integrate bugtracker info into prologue
* Integrate Android pages into client APIs section

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-22 18:35:59 +02:00