Commit Graph

30 Commits

Author SHA1 Message Date
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
Robin Windey
8073549620 Improve migration docs
* Add section on how migration classes are constructed
* Add a hint for "version" argument on "migrations:execute"

Signed-off-by: Robin Windey <ro.windey@gmail.com>
2022-09-03 12:18:51 +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
Louis Chemineau
347f64d5c2 Add high level filesystem documention
From https://github.com/nextcloud/server/pull/26982

Adds some documentation for the filesystem layer, both a high level overview of how the various pieces interact and a high level guide for apps interacting with the filesystem.

Hopefully this will be useful to anyone trying to either use the filesystem or work on the filesystem.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-05-02 14:18:20 +02:00
Vitor Mattos
31661e7113 Fix appdata url
Signed-off-by: Vitor Mattos <vitor@php.rio>
2022-04-25 20:02:30 -03:00
tflidd
2d620bee2c Merge pull request #8134 from nextcloud/sualko-patch-1
emphasize that debug mode is required
2022-04-22 19:29:48 +02:00
Joas Schilling
9af1862f84 Document the string length issue
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-04 16:03:28 +02:00
Joas Schilling
dfee257fc2 Document database requirements and specialties
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-03-17 16:08:59 +01:00
Klaus
9b644bef94 emphasize that debug mode is required 2022-03-16 15:59:52 +01:00
Joas Schilling
ee73b3e241 Fix transaction method name
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-02-24 11:54:06 +01:00
Côme Chilliet
42773a35d8 Merge pull request #8048 from nextcloud/enhancement/dev-ttransactional
Document TTransactional for developers
2022-02-21 10:07:39 +01:00
Christoph Wurst
6088dd56d1 Merge pull request #7851 from nextcloud/mejo--patch-1
Update configuration.rst, mention HintException
2022-02-21 08:55:13 +01:00
Christoph Wurst
53524d8542 Document TTransactional for developers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2022-02-18 12:42:45 +01:00
Cyrille Bollu
7b29164174 Adds a provision about 'composer dump-autoload' to the migrations
chapter

Signed-off-by: Cyrille Bollu <cyr.debian@bollu.be>
2022-02-09 11:25:17 +01:00
Jonas
237ca61475 Update configuration.rst, mention HintException
With https://github.com/nextcloud/server/pull/30130, `setConfigValue` throws a HintException when config is read-only.

Signed-off-by: Jonas Meurer <jonas@freesources.org>
2022-01-13 12:17:25 +01:00
Aeredren
bb442806e6 Typo 2021-10-08 14:08:22 +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
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
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
nienzu
b6cb8489f4 Fix spelling error in migrations
Signed-off-by: nienzu <ibqqz0602@gmail.com>
2020-10-14 17:24:30 +08: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
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
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