Commit Graph

200 Commits

Author SHA1 Message Date
Eduardo Viñuela
231063fd07
ORM is Object-Relational Mapping.
Changing Object-Relational Model to Object-Relational Mapping (the correct meaning of ORM).
Other popular ORMs: Hibernate, Entity Framework Core, Dapper.
2022-02-22 12:20:46 -06:00
Tyler Trout
6b1c5eb6d7
NEW Allow methods to be used for flexible searchable_fields (#10199)
* Allow methods to be used for flexible searchable_fields

* match_any key

* Documentation

* Update docs/en/02_Developer_Guides/00_Model/11_Scaffolding.md

Co-authored-by: GuySartorelli <36352093+GuySartorelli@users.noreply.github.com>

* Search fields test

* Newlines

* Update src/ORM/Search/SearchContext.php

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>

* Update docs/en/02_Developer_Guides/00_Model/11_Scaffolding.md

Co-authored-by: Steve Boyd <emteknetnz@gmail.com>

* Removed comments and whitespace. Linting fixes

Co-authored-by: GuySartorelli <36352093+GuySartorelli@users.noreply.github.com>
Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
2022-02-10 09:40:16 +13:00
Mojmir Fendek
89c87ddbf8
NEW: Static validation for relationships. (#9874)
* NEW: Static validation for relationships.

* Unit tests added.

* PR fixes

* PR feedback: Execute validation on flush.

* PR fixes.

* PR fixes.
2022-02-04 14:41:09 +13:00
Michal Kleiner
30325f6416
Merge pull request #10114 from Michael-HEIW/update-code-to-src
DOCS Update all occurrences of /app/code/ to /app/src/ for v4
2022-01-15 10:34:59 +13:00
Lukas
552cf5944d
MNT Fix various typos with codespell (#10177) 2021-12-13 21:05:33 +13:00
Michael Pritchard (HEIW)
5ad7d5169f DOCS Update all occurrences of /app/code/ to /app/src/ for correct v4 structure
Linked to #10099, I noticed another occurrence of /app/code/, so I've search and replaced all of them to /app/src/ for the correct v4 structure
2021-10-07 09:13:26 +01:00
Michael Pritchard
fdbd899766 DOC Update SilverStripe to Silverstripe CMS
- Remaining Developer Guides and Upgrading
- SilverStripe in a namespace or api has not been change
- To keep PRs easier no formatting was changed

Update merge conflics with two files

Update Silverstripe Ltd, Silverstripe Cloud and Silverstripe CMS

Silverstripe CMS Ltd > Silverstripe Ltd
Silverstripe CMS Platform > Silverstripe Cloud
Silverstripe CMS Framework > Silverstripe CMS

Resolve merge conflict

Remove Framework from Silverstripe CMS Framework

- 3 files

Change SilverStripe CMS to Silverstripe CMS
2021-07-30 13:54:15 +01:00
Pen y Fan
bba872e02c
[doc] Update to Silverstripe 4 convention
- The Silverstripe 4 folder structure has been changed from **app/code/** to **app/src/**
- Renamed Silverstripe in text. I assume `api:` and `Namespace`, should remain SilverStripe
- Added some missing semicolons
2021-05-31 19:08:03 +01:00
Daniel Hensby
1c1298e062
Merge pull request #9934 from manuth/patch-7
Update 11_Scaffolding.md
2021-05-14 20:57:56 +01:00
Daniel Hensby
045eaaaa79
Merge pull request #9933 from manuth/patch-6
Update 10_Versioning.md
2021-05-14 20:51:08 +01:00
Daniel Hensby
d3e1678823
Merge pull request #9935 from manuth/patch-8
Update Dynamic_Default_Fields.md
2021-05-14 20:23:26 +01:00
Manuel Thalmann
4f57bd94de
Apply further suggestion
Co-authored-by: Daniel Hensby <dhensby@users.noreply.github.com>
2021-05-14 20:22:23 +01:00
Manuel Thalmann
e37188da4c
Revert unnecessary change 2021-05-14 20:21:34 +01:00
Manuel Thalmann
4de89323f7
Update Grouping_DataObject_Sets.md 2021-05-14 15:43:44 +02:00
Manuel Thalmann
42f0957bd5
Update Dynamic_Default_Fields.md 2021-05-14 15:29:11 +02:00
Manuel Thalmann
ff7654db1f
Update 11_Scaffolding.md 2021-05-14 15:17:50 +02:00
Manuel Thalmann
b0cdff3619 Apply suggestions 2021-05-14 15:16:33 +02:00
Manuel Thalmann
ac7cbef6b9
Update 10_Versioning.md 2021-05-14 14:57:49 +02:00
Manuel Thalmann
ff9fc28468
Update 08_SQL_Select.md 2021-05-14 11:14:35 +02:00
Manuel Thalmann
7024af541b
Fix typos in 04_Data_Types_and_Casting.md 2021-05-14 10:28:58 +02:00
Manuel Thalmann
6e499b73af
Fix typos in 03_Lists.md 2021-05-14 02:07:00 +02:00
Guy Marriott
07bcd041ab
Merge pull request #9928 from manuth/patch-2 2021-05-13 16:08:54 -07:00
Manuel Thalmann
ed50c1b94e
Update docs/en/02_Developer_Guides/00_Model/02_Relations.md
Co-authored-by: Guy Marriott <guy.the.person@gmail.com>
2021-05-13 23:19:37 +02:00
Manuel Thalmann
a5e4a5c97d
Fix typos in 02_Relations.md 2021-05-13 22:05:17 +02:00
Manuel Thalmann
f44119ff59
Fix typos in 01_Data_Model_and_ORM.md 2021-05-13 21:18:40 +02:00
Maxime Rainville
6fc25e4e96
RFC Add chunk method to DataList to iterate over large dataset (#8940) 2021-04-14 07:49:44 +12:00
Stevie Mayhew
4583046195
Merge pull request #9855 from edwilde/patch-7
DOC: fix api link syntax and a couple of typos
2021-02-15 10:50:54 +13:00
Stevie Mayhew
63073f7ae5
Merge pull request #9854 from edwilde/patch-6
DOC: fix broken heading
2021-02-15 10:50:19 +13:00
Stevie Mayhew
f3ff7b7bbb
Merge pull request #9858 from edwilde/patch-9
DOC: fix typo
2021-02-15 10:49:16 +13:00
Ed Wilde
e60a25cfbd
DOC: fix typo
Fixing typo in searchable fields description.
2021-02-15 10:31:38 +13:00
Ed Wilde
12943d0616
DOC: fix typo 2021-02-15 10:28:52 +13:00
Ed Wilde
01eedff4a4
DOC: fix api link syntax and a couple of typos
The link to the api documentation for `writeWithoutVersion()` was invalid and not rendering as a link. Also fixed a couple of typos in surrounding text.
2021-02-15 09:47:54 +13:00
Ed Wilde
3a214a2ed3
DOC: fix broken heading
It appears there may be a bug in gatsby which causes code blocks in headings to not be output. I can't find a specific issue in their project to link this to, so it might be best to simply remove the code block here allowing the header to display correctly.
2021-02-15 09:24:15 +13:00
Scott Hutchinson
bdb2deb3f5
DOCS Update HistoryViewerField to require javascript more consistently (#9773) 2020-11-16 13:56:50 -08:00
Guy Marriott
478d487f0e
Merge pull request #9707 from robbieaverill/pulls/4.7/exceptions 2020-10-01 17:16:43 -07:00
Dylan Grech
effe5c2e6f
#9706: Updated doc for case-sensitive filter (#9710)
* #9706: Updated doc for case-sensitive filter

* #9706: Updated doc for case-sensitive filter

Co-authored-by: Dylan Grech <dylangrech@innovativecodes.com>
2020-09-26 10:02:21 +12:00
Robbie Averill
27bd5d12e3 ENH Replace E_USER_ERROR errors with exceptions 2020-09-24 23:51:21 -07:00
cloph
13725d2f92
DOC HistoryViewer: explain "magic names" (#9670)
DOC HistoryViewer: explain "magic names"
GraphQL scaffolding uses names consisting of the first part of the namespace and the classname, but to inject it to the HistoryViewer field you need to use the database table name.
Co-authored-by: Steve Boyd <emteknetnz@gmail.com>
2020-09-12 12:56:23 +12:00
Maxime Rainville
9f94c739c1 DOC Correct the example for getters/setters 2020-08-06 10:15:14 +12:00
James Cocker
b4a3cc700a
Fixes getCMSFields TabSet example
Current example results in: "[Emergency] Uncaught InvalidArgumentException: TabSet can only contain instances of other Tab or Tabsets"
2020-06-29 16:37:26 +01:00
Jackson Darlow
6813c0f7e8 Added documentation regarding some cached ORM scenarios 2020-06-17 17:17:04 +12:00
Michal Kleiner
21129b1624
Use short array syntax across the framework's codebase 2020-05-16 10:34:45 +01:00
Maxime Rainville
7da77be5ce Merge branch '4.5' into 4 2020-04-15 08:22:27 +12:00
mattclegg
6a640f1498
DOCS: Example should show how to disable VersionedGridfieldDetailForm as it's enabled by default 2020-04-13 17:34:55 +05:45
Matt Clegg
101c189c16
[DOCS] Missing line termination in example 2020-03-14 15:19:17 +05:45
Conny Nyman
2bd5f8cbcf DOC Updated search filter modifiers documentation to mention that they only work on data lists 2020-01-11 11:09:24 +02:00
Tristan
aad33e36d7
Change from "Team" to Team::class
To be consistent with the rest of the doc
2019-11-28 11:34:41 +13:00
Nicolaas
d1fc27d03a
MINOR: clearer distinction between class names and actual names 2019-11-26 15:57:45 +13:00
Aaron Carlino
6888901468
NEW: Update docs to be compliant with Gatsby site (#9314)
* First cut

* Temporarily disable composer.json for netlify build

* POC

* New recursive directory query, various refinements

* Fix flexbox

* new styled components plugin

* Apply frontmatter delimiters

* Mobile styles, animation

* Search

* Redesign, clean up

* Nuke the cache, try again

* fix file casing

* Remove production env file

* ID headers

* Move app to new repo

* Add frontmatter universally

* Hide children changelogs

* Add how to title

* New callout tags

* Revert inline code block change

* Replace note callouts

* Fix icons

* Repalce images

* Fix icon

* Fix image links

* Use proper SQL icon
2019-11-18 17:58:33 +13:00
Loz Calver
daf995da63
Fix syntax error in DataList docs 2019-09-30 09:36:12 +01:00