Commit Graph

245 Commits

Author SHA1 Message Date
Ferdinand Thiessen
b266e7d22f
feat(developer): Document public CSS variables and classes from server
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2024-07-02 21:38:02 +02:00
Christoph Wurst
864617c80f
feat(dev): Add an example for transient db entity attributes
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-03-27 10:03:35 +01:00
Ferdinand Thiessen
53e467ddc9
Merge pull request #11550 from nextcloud/docs/dev/db-indexes
docs(dev): Mention new uniqueness check for index names
2024-03-08 00:07:44 +01:00
Josh
11e7260e71
Update developer_manual/basics/storage/database.rst
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-02-28 17:18:46 -05:00
Johannes Merkel
7a2bb37142
feat(dev): add replace option to AddMissingIndices
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2024-02-26 14:18:48 +01:00
provokateurin
47f3d00127
feat(developer_manual): Add Route attribute to routing introduction
Signed-off-by: provokateurin <kate@provokateurin.de>
2024-02-21 15:25:28 +01:00
Josh
04de7b59b9
docs(dev): Mention new uniqueness check for index names
Follow-on to nextcloud/server#39506 & nextcloud/server#43357

Signed-off-by: Josh <josh.t.richards@gmail.com>
2024-02-17 09:25:51 -05:00
Christoph Wurst
3e7430fb26
feat(devmanual): Add \OCP\DB\IResult::fetch deprecation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2024-01-19 17:06:09 +01:00
Michiel de Jong
e52a3372a0 correct variable name
It seems the type-hinting comment should be about the `$dispatcher` variable on the line below it.

Signed-off-by: Michiel de Jong <michiel@unhosted.org>
2024-01-18 14:11:53 +01:00
John Molakvoæ
319870b932
feat(developer_manual): add vue l10n hint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2024-01-12 10:27:58 +01:00
Ferdinand Thiessen
a32ee9d18b
fix(dev): Add useStrictDynamicOnScripts to OCP\AppFramework\Http\EmptyContentSecurityPolicy
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
2023-11-17 18:29:02 +01:00
Christoph Wurst
236828b932
feat(devmanual): Optional dependency injection services
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-11-03 12:35:26 +01:00
John Molakvoæ
4e6db05abd
feat: addScript and addInitScript docs
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-10-19 15:13:38 +02:00
Christoph Wurst
2fe467210f
feat(devmanual): In-memory cache factory
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-13 13:50:19 +02:00
Christoph Wurst
eca287964d
feat(devmanual): Document caching basics
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-10-13 12:40:17 +02:00
Anna Larch
f799986cda fix(doc): Wrap instance reporting for database schema in an API
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-09-29 14:43:29 +02:00
Christoph Wurst
99e2e5682d
feat(devmanual): Schedule background jobs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-29 10:27:07 +02:00
dartcafe
982f1b93f5
fix indefinite articles
Signed-off-by: dartcafe <github@dartcafe.de>
2023-09-28 13:10:47 +02:00
Christoph Wurst
11578a6086
feat(devmanual): Document programmatic rate limiter
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-09-06 10:22:36 +02:00
Daniel Kesselberg
1c4e073bdc
chore: normalize spelling for PHP + version
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-08-31 15:49:00 +02:00
jld3103
6ecd1e2a5d
Add OpenAPI tutorial
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-08-07 13:10:21 +02:00
Joas Schilling
1c6755b3ef
fix(developer): Update event list with changes from Symfony EventDispatcher upgrade
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-28 16:19:04 +02:00
Christoph Wurst
f1d6b478f5
Merge pull request #10817 from nextcloud/fsamapoor-patch-5
Update middlewares.rst
2023-07-27 23:06:14 +02:00
Faraz Samapoor
e3ece87780
Update middlewares.rst
The plural of middleware is middleware.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-07-26 16:01:41 +03:30
Faraz Samapoor
0e858a8bfe
Update setting.rst
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-07-19 15:24:58 +03:30
Julius Härtl
d9012b5033
feat(dev): Add documentation for new AddMissingIndicesEvent
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-07-14 14:37:20 +02:00
Joas Schilling
7bc4f06a68
fix(developer_manual): Document event updates
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-07-11 08:52:16 +02:00
Arthur Schiwon
ec0298715d
feat: visualization of middleware flow
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-26 16:02:31 +02:00
Simon L
dabcab6678
Merge pull request #10633 from fsamapoor/patch-5
Update dependency_injection.rst
2023-06-17 16:53:55 +02:00
Faraz Samapoor
e047118593
Update dependency_injection.rst
Removes repeated DI parameter.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-16 00:39:02 +03:30
Faraz Samapoor
82df133ca2
Update dependency_injection.rst
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-06-16 00:17:49 +03:30
danial rahimy
b4bab5ddf9 Update controllers.rst
Correction of typos

Signed-off-by: danial rahimy <48244647+danialRahimy@users.noreply.github.com>
2023-06-09 17:02:41 +02:00
Julius Härtl
bb4b832242
Merge pull request #10358 from fsamapoor/patch-3 2023-06-09 16:47:04 +02:00
Julius Härtl
36f0376859
feat(events): Add OCP\Collaboration\Reference\RenderReferenceEvent
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-08 21:39:27 +02:00
Julius Härtl
5f1bf6d4a6
feat(events): Add OCP\Preview\BeforePreviewFetchedEvent
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-08 21:21:06 +02:00
Joas Schilling
0dbfed024d
Merge pull request #9656 from danialRahimy/patch-3
Fix variable name on controller page
2023-05-22 10:00:14 +02:00
Faraz Samapoor
010f94315f
Fixes URL address in developer manual's setting.rst
Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-05-10 13:13:31 +03:30
Christoph Wurst
3b9ff4a92e
fix(devmanual): Modernize user manager and user session docs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-05-10 09:32:29 +02:00
Joas Schilling
e6c1981637
feat(developer): Replace annotations with attributes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-25 16:00:11 +02:00
Marcel Klehr
018f555b34
Merge pull request #10097 from nextcloud/feat/parallel-aware-job 2023-04-25 12:24:36 +02:00
Daniel
a86f6d7b91
Merge pull request #10035 from fsamapoor/patch-2
Fixes migrations:execute description in migrations.rst.
2023-04-24 20:39:09 +02:00
Joas Schilling
50a2c29f58
Merge pull request #10100 from nextcloud/bugfix/noid/ratelimit-attribute
feat(developer): Document ratelimit attributes
2023-04-24 13:56:20 +02:00
Joas Schilling
e80210b9a4
fix(bruteforce): Fix 429 explanation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-24 10:08:47 +02:00
Joas Schilling
a9298ff596
feat(developer): Document ratelimit attributes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-21 15:29:14 +02:00
Joas Schilling
36b571cb84
feat(bruteforce): Document the new BruteForceProtection attribute
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-04-21 15:21:03 +02:00
Marcel Klehr
2c4a751317 feat(IParallelAwareJob): Add versionadded
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-20 15:20:21 +02:00
Marcel Klehr
0ccf7e4ed6
Update developer_manual/basics/backgroundjobs.rst
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com>
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-20 15:19:22 +02:00
Marcel Klehr
51f7297e1d feat(IParallelAwareJob): Document setAllowParallelRuns
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-04-20 14:06:27 +02:00
Christoph Wurst
c4861bcb6a
fix(devmanual): Drop outdated database.xml information
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-04-19 09:48:28 +02:00
Faraz Samapoor
f05e543296
Fixes migrations:execute description in migrations.rst.
"Version" is the "prefix" of the class name, not the "postfix".

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-04-11 16:48:09 +03:30
Anna Larch
b5a05ad62d Document GroupChanged Event
Signed-off-by: Anna Larch <anna@nextcloud.com>
2023-04-06 22:17:19 +02:00
Christoph Wurst
14088bd5fa
feat(devmanual): Recommend time insensitive jobs for performance
Recommend marking background jobs as time insensitive in our performance
recommendations for app devs.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-03-30 10:46:39 +02:00
Andrey Borysenko
2a403f8017
Moved admin changes to admin_manual. Added new event to Events page
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-03-21 14:18:16 +02:00
Andrey Borysenko
1e02ee68e5
Added Nextcloud 26 upgrade changes docs
Signed-off-by: Andrey Borysenko <andrey18106x@gmail.com>
2023-03-20 16:54:20 +02:00
Alexander Piskun
13255982be
Fixed some warnings and errors. (#9924)
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-03-20 16:21:36 +03:00
Alexander Piskun
2a9647ef1f
Fixed unexpected unindent in note.
Signed-off-by: Alexander Piskun <bigcat88@icloud.com>
2023-03-20 15:09:02 +03:00
Christoph Wurst
a1a0076278
Merge pull request #9572 from nextcloud/app-management-new-events
Add new app management events
2023-03-20 07:51:05 +01:00
Christoph Wurst
d958f3fc07
Merge pull request #9593 from nextcloud/fix/dep-inj
Replace deprecated dependency injection code with the current alternative
2023-03-16 14:04:32 +01:00
Thomas Citharel
f23f1ee3b9
Add new app management events
Reference: https://github.com/nextcloud/server/pull/35677

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-03-14 14:12:43 +01:00
Joas Schilling
0323857b2d
fix(l10n): Refer to the docker-ci issue template only
Signed-off-by: Joas Schilling <coding@schilljs.com>
2023-03-09 14:38:45 +01:00
danial rahimy
590fd96c78
Update controllers.rst
Correct variable name

Signed-off-by: danial rahimy <48244647+danialRahimy@users.noreply.github.com>
2023-02-23 12:09:27 +03:30
Louis Chemineau
ebd28bf2ee Document providing a public share template
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-21 15:09:45 +01:00
Louis Chemineau
912773b88a Follow up on table management tips
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-02-07 18:06:21 +01:00
Ferdinand Thiessen
76ec58bf9b fix(developer): Replace deprecated dependency injection code with the current alternative
Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
2023-01-27 17:59:58 +01:00
Christoph Wurst
2fec88145d
feat(dev-manual): Document UseSession attribute
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-27 15:59:40 +01:00
Christoph Wurst
650b37692e
feat(dev-manual): Document global middleware registration
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-26 09:55:22 +01:00
Christoph Wurst
f3cb64d12f
fix(dev-manual): Update middleware docs to state of the art
* Register with bootstrap
* Add return types in examples
* Drop obsolete manual DI wiring example

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-25 10:30:22 +01:00
Christoph Wurst
281b4c99a4
Merge pull request #9560 from nextcloud/feat/dev-manual/di-method-injection
feat(dev-manual): Document DI for controller methods
2023-01-18 17:04:01 +01:00
Christoph Wurst
7175695369
chore(dev-manual): Remove opening tags from php snippets
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-17 18:15:49 +01:00
Christoph Wurst
a7a5fab0b1
feat(dev-manual): Document DI for controller methods
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-01-16 11:28:38 +01:00
Faraz Samapoor
585e336d38
Updates the "Migrations" section's phrasing.
To make it more readable and to remove redundant words.

Signed-off-by: Faraz Samapoor <f.samapoor@gmail.com>
2023-01-09 13:21:57 +03:30
Daniel
8d2d28006b
Update developer_manual/basics/controllers.rst
Signed-off-by: Daniel <mail@danielkesselberg.de>
2022-12-14 22:42:19 +01:00
Daniel
0949e709f3
Update developer_manual/basics/controllers.rst
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Daniel <mail@danielkesselberg.de>
2022-12-14 22:42:13 +01:00
Daniel
b38ef46644
Update developer_manual/basics/controllers.rst
Co-authored-by: Christoph Wurst <ChristophWurst@users.noreply.github.com>
Signed-off-by: Daniel <mail@danielkesselberg.de>
2022-12-14 22:42:07 +01:00
Julius Härtl
eaf514cd60
Adapt session handling description to changes in Nextcloud 25
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-11-22 18:13:14 +01:00
Julius Härtl
6d4f17a15b
Merge pull request #9351 from nextcloud/chore/event-version-added-directive 2022-11-14 23:27:12 +01:00
Christoph Wurst
dcd9079cd3
Document when to use the NoTwoFactorRequired annotation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-14 18:12:05 +01:00
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
9fba30495d
Use versionadded directive for added OCP events
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-14 14:39:07 +01:00
Christoph Wurst
3f9cfe3bd8
Use deprecated directive instead of note
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-14 13:27:16 +01:00
Joas Schilling
0b6d9699ac
Merge pull request #9331 from nextcloud/enhancement/genericevent-deprecation
Document GenericEvent deprecation in Nextcloud 22
2022-11-14 10:25:04 +01:00
Christoph Wurst
1267692b0b
Document GenericEvent deprecation in Nextcloud 22
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-14 10:04:29 +01:00
Christoph Wurst
edb263a02a
Document deprecation of entity slugs
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-14 09:39:38 +01:00
Joas Schilling
b032437050
Make all internal links link to the latest (adjusted on stable-splits)
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-11 15:41:58 +01:00
Christoph Wurst
56641f0fe1
Merge pull request #9310 from nextcloud/feature/noid/CriticalActionPerformedEvent
Document CriticalActionPerformedEvent
2022-11-09 13:21:18 +01:00
Christoph Wurst
c7170e3312
Merge pull request #9311 from nextcloud/feature/noid/document-datetime-support-for-entities
Document datetime support for the Entity class
2022-11-09 13:20:41 +01:00
Joas Schilling
867b591954
Document datetime support for the Entity class
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-09 12:32:52 +01:00
Joas Schilling
dede3c97e0
Document CriticalActionPerformedEvent
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-09 12:18:09 +01:00
Joas Schilling
17cb5ca882
Document IFactory::getUserLanguage()
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-09 12:01:40 +01:00
Louis
6712d40524
Merge pull request #9283 from nextcloud/artonge/feat/table_management_tips
Add table management tips for developers
2022-11-08 13:41:17 +01:00
Louis Chemineau
df4819dd92 Add table management tips for developers
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-11-08 13:38:05 +01:00
Joas Schilling
4fb3de3aa6
Fix missing highlight
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-08 12:57:29 +01:00
Joas Schilling
cda3adc84f
Add ref to front-end docs
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-11-08 12:54:59 +01:00
Christian Wolf
e0afb73e7c
Removed wrong capitalization and few bugs in Sphinx build
Signed-off-by: Christian Wolf <github@christianwolf.email>
2022-11-03 15:43:40 +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
Christoph Wurst
4a04e383ec
Update DI parameters, aliases and services documentation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-11-02 19:32:21 +01:00
Christoph Wurst
d64992f6c8
Fix rendering of inline code block
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-10-31 15:20:28 +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
Joas Schilling
7d91c9aab3
Update transifex config template with new TX version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-06 17:04:50 +02:00
Daniel
fb83e8da3c
Merge pull request #9165 from quinnzipse/dev_manual-basics-routing-typo
Fix typo in routing.rst
2022-09-18 00:03:37 +02:00