Commit Graph

1429 Commits

Author SHA1 Message Date
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
60df76dc69
Document php linting
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-26 11:03:08 +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
e378f9d0ae
Fix duplicate target warnings of Sphinx for external links
Apparently Sphinx doesn't like that we use the same name multiple times,
though the link pointed to different URLs.
https://github.com/sphinx-doc/sphinx/issues/3921#issuecomment-315581557
suggests using `__` for "anonymous references".

This will remove some of the github action comments that show for every
PR.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-26 09:11:58 +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
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
Vincent Petry
c46d127a6d
Mention cloning shipped apps in dev env
Add mention to cloning external shipped apps into the apps folder in the
development environment, to be able to test upgrades as these apps will
be required at that point.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-10-26 14:22:48 +01: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
John Molakvoæ
aae1754f75
Merge pull request #5239 from PanCakeConnaisseur/patch-3 2020-10-15 16:42:49 +02:00
PanCakeConnaisseur
bc9de46f6b
Make app in path lowercase
Co-authored-by: Morris Jobke <hey@morrisjobke.de>
2020-10-15 15:29:55 +02: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
c208dd171a
Merge pull request #5231 from PanCakeConnaisseur/patch-2
Fix typo in documentation
2020-10-12 16:56:19 +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
Morris Jobke
cacca4b378
Merge pull request #5229 from Nienzu/correct_tutorial_spell
Correct some spelling errors in app tutorial
2020-10-09 15:36:38 +02:00
PanCakeConnaisseur
332b2c8b8f
Fix typo 2020-10-08 20:54:09 +02:00
Christoph Wurst
607bee7f42
Document CI and static analysis for apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-08 16:00:04 +02:00
nienzu
3c2d2a1c0a Correct some spelling errors in app tutorial 2020-10-08 17:56:12 +08:00
Christoph Wurst
c8414faea8
Document deprecated getters of IServerContainer in 20
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-07 09:16:22 +02:00
Christoph Wurst
32bcb0d631
Document two more deprecations in 20
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-06 11:20:42 +02:00
Christoph Wurst
590f2583ca
Document Nextcloud 20 removed jQuery plugin(s)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-06 09:42:45 +02: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
4698cb9255
Document the escape-html removal
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-06 08:21:43 +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
Christoph Wurst
a3bc1ade58
Use LoggerInterface in the example repair step
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 14:30:43 +02:00
Christoph Wurst
463ce8a859
Document Nextcloud 20 critical changes
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-10-05 14:30:39 +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
Roeland Jago Douma
c5d99bfb30
Merge pull request #5118 from Nienzu/correct_middleware_sample
Correct the sample code for middleware
2020-10-02 10:29:41 +02:00
Roeland Jago Douma
01f39a0bbd
Merge pull request #5084 from Iscle/patch-2
Direct Download: Fix link expiration time
2020-10-01 12:22:38 +02: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
nienzu
dd19c90353 Correct the sample code for middleware 2020-09-29 11:17:48 +08:00
kesselb
8067d4e973
Merge pull request #5037 from nextcloud/strugee-patch-1
Fix typo
2020-09-26 16:03:15 +02:00
Iscle
894ae4ef34
Direct Download: Fix link expiration time
The link is only valid for 8 hours, not 24 as stated before.
2020-09-25 00:03:14 +02: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
AJ Jordan
96cbee1204
Fix typo 2020-09-22 04:40:01 -04:00
J0WI
122ed88e53 Update urls to HTTPS
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
2020-09-17 20:33:30 +02:00
Joas Schilling
368e31136b
Fix missing imports
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-15 13:30:34 +02:00
Joas Schilling
4aa1d8ad2b
Some more documentation fixes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-15 08:36:01 +02:00
Joas Schilling
42e36802db
It's OCS Api now
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-15 08:24:17 +02:00
Maxence Lange
d3bab2129b
Update search.rst 2020-09-15 08:14:58 +02:00
Morris Jobke
e9eec9f428
Merge pull request #3762 from dassio/add_rich_workspace
add workspace property
2020-09-14 17:06:06 +02:00
Morris Jobke
4b076dddf0
Update developer_manual/client_apis/OCS/ocs-api-overview.rst 2020-09-14 16:30:19 +02:00
Alexandru Ungureanu
09f570b55e Corrected unintended text emphasis
Signed-off-by: Alexandru Ungureanu <aungureanu@keyfort.co.uk>
2020-09-13 15:08:34 +03: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
bca770da73
Fix l10n build for user manual
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-09-09 21:25:25 +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
dassio
9bcddacb5a add workspace property
Signed-off-by: dassio <dassio@icloud.com>
2020-08-29 16:17:35 +01:00
Julius Härtl
1cdd9eb363
Add link to new phpdoc build
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-27 08:41:32 +02:00
Jivan Pal
96438ae6e5 Update WebDAV/basic.rst; corrected "created" to "deleted" for DELETE method 2020-08-21 16:42:08 +01:00
Jivan Pal
2e02596b06
Update routing.rst; corrected parameter name from method to verb 2020-08-20 18:12:06 +01:00
dassio
7eac51fbbf add example for type annotattion
Signed-off-by: dassio <dassio@icloud.com>
2020-08-19 23:10:03 +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
93f373b8c5
Merge pull request #2168 from nextcloud/enh/noid/dashboard
Add docs for new dashboard api
2020-08-13 14:50:05 +02:00
Julius Härtl
44982a143c
Add docs for new dashboard api
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-08-13 13:46:34 +02: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
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
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
John Molakvoæ
3e80ebad15
Merge pull request #2531 from nextcloud/jospoortvliet-patch-1 2020-07-30 09:29:53 +02:00
Jos Poortvliet
c92e79a9cb
Update externalapi.rst 2020-07-29 20:21:56 +02:00
Jos Poortvliet
9362e6a4a9
Update externalapi.rst
Link to open collaboration services instead. Don't merge yet, this page has to be updated first... will take a bit I suppose.
2020-07-29 19:33:12 +02:00
Jos Poortvliet
7efae5518e
Update index of Android lib
We want to remove this link from nextcloud.com/developer as it is a bit too specific. This seems a good place to link to it instead.
2020-07-29 18:50:33 +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
Baran Sekin
b50e5ffa54 Added missing import
The IURLGenerator class is used at the constructor parameter, but importing that namespace was missing.

Signed-off-by: Baran Sekin <baransekin@gmail.com>
2020-07-20 12:53:08 +03: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
Morris Jobke
3c4cfa1314
Add event for BeforeTemplateRenderedEvent
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-15 20:08:59 +02:00
Morris Jobke
9c9ed0f35f
Add BeforeTemplateRenderedEvent
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-15 19:55:07 +02:00
Joas Schilling
6b36e226c7
Extend docs on theming with primary color
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-06 10:16:22 +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
Christoph Wurst
d92723f2a3
\OCP\BackgroundJob\Job::run is neither public nor static
Ref https://help.nextcloud.com/t/cannot-develop-own-backgroundtask-when-using-nextcloud-developer-documentation/83411

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-19 10:51:58 +02:00
Christoph Wurst
e2dbce8ba8
Remove oudated backporting docs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-10 14:19:43 +02:00
Christoph Wurst
22040e8867
Document current bootstrap mechanism
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-09 07:50:02 +02:00
Sascha Wiswedel
bd9ef16c19
purge strings about explicit Nextcloud versions
Versions deprecate fast and aren't needed in upstream documentation branches.

Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2020-06-04 12:48:13 +02:00
Sascha Wiswedel
972a22c346
more link fixes
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2020-06-03 13:01:37 +02:00
tflidd
344c4bf361
Update npm.rst
fixes https://github.com/nextcloud/documentation/issues/2026
2020-05-29 11:26:14 +02:00
Morris Jobke
7c64f4c8b4
Update developer_manual/app/view/l10n.rst 2020-05-26 15:38:27 +02:00
rakekniven
982177b0aa
Add section about .l10nignore
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-05-26 15:10:43 +02:00
John Molakvoæ (skjnldsv)
ba7b1f5b19
Fix typos
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-05-04 13:41:56 +02:00
Morris Jobke
d305a63c75
Merge pull request #1744 from nextcloud/jospoortvliet-patch-1
add autocomplete API
2020-04-21 10:00:05 +02:00
Morris Jobke
346ef4939d
Merge pull request #1968 from nextcloud/add-links-to-api-docs
add comments and link to activity docs
2020-04-21 09:51:48 +02:00
Sascha Wiswedel
5b06803335
licensing note also put into dev docs
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2020-04-20 15:09:11 +02:00
Sascha Wiswedel
5f30a79edc
App Store: "official" is now "Featured"
Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2020-04-20 14:15:49 +02:00
Jos Poortvliet
7e8e70fa1d
Update index.rst 2020-04-20 09:40:11 +02:00