Commit Graph

36 Commits

Author SHA1 Message Date
Eron Donevan Powell
067caf650c replaced replace a file video file (#13793) 2022-06-09 10:15:07 -05:00
Eron Donevan Powell
d46886d5ac Docs: re-edited user-directory + users-roles-permissions (#13424)
* re-edited user-directory and users-roles-permissions

* added Overview
2022-05-24 14:14:46 -04:00
Eron Donevan Powell
e843d1a775 Docs: Display Templates Page (#13494)
* created new display templates page

* first draft complete, should be fully ready to go live
2022-05-24 11:22:34 -04:00
Eron Donevan Powell
5af5c92c0e replaced video (#13333) 2022-05-16 12:35:13 -04:00
Peera Jeawkok
e47502e11f Fix Invalid foreign key when applying schema snapshot (#12198)
* add logic to create parent collection before apply

* recursively create collection

* Recursively delete collection

* cleanup

* fix import

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* fix deconstruction of collections

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* fix deconstruction of collections

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>

* Fix destructing

* Move type declaration to the top

As requested during code review https://github.com/directus/directus/pull/12198#discussion_r857330627

* remove unnecessary empty array check.

* remove redundant map functions

* replace lodash functions in favor of built-in ones

* tweaks

* organize imports

Co-authored-by: Azri Kahar <42867097+azrikahar@users.noreply.github.com>
Co-authored-by: Stephan Schmitz <eyecatchup@gmail.com>
2022-05-09 16:49:20 -04:00
Josh Soref
0b01923b0d Spelling (#13072) 2022-05-02 13:16:03 -04:00
Eron Donevan Powell
2d5a96d97d added tip to exlpain how to formate custom range (#12999) 2022-04-25 13:25:32 -04:00
Eron Donevan Powell
44646c401c Content (#12932)
* small tweaks on content page, pushing to origin

* collectionsfirst edit half done

* improved tip on create an item

* reworked intro sections of content docs

* added on import/export and layouts pages

* finished content.md first draft, added some structural details

* content-collections.md first draft complete

* renamed content-collections.md to 'Collection Page' and content-items.md to 'Item Page'

* content-items.md first draft finished

* content-layouts.md first draft complete

* import/export first draft *almost* done

* imports/export first draft done

* forgot to manually add import/export file to commit

* moved layouts into utilities

* import-export first draft done

* Initial proofread of all content docs

* addressed most comments from github review

* media added

* widows

* Update docs/app/content.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* applied half of rijk's edit requests, waiting for replies to add the other half

* finished applying rijk's edit requests

* Fix active link style in docs sidebar nav

* Add cloud exclusive mention

* The last of it... Until Loris edits

* final proofread

Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-04-22 16:56:07 -04:00
Eron Donevan Powell
7481419fb1 Docs: Content (#12046)
* small tweaks on content page, pushing to origin

* collectionsfirst edit half done

* improved tip on create an item

* reworked intro sections of content docs

* added on import/export and layouts pages

* finished content.md first draft, added some structural details

* content-collections.md first draft complete

* renamed content-collections.md to 'Collection Page' and content-items.md to 'Item Page'

* content-items.md first draft finished

* content-layouts.md first draft complete

* import/export first draft *almost* done

* imports/export first draft done

* forgot to manually add import/export file to commit

* moved layouts into utilities

* import-export first draft done

* Initial proofread of all content docs

* addressed most comments from github review

* media added

* widows

* Update docs/app/content.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* applied half of rijk's edit requests, waiting for replies to add the other half

* finished applying rijk's edit requests

* Fix active link style in docs sidebar nav

* Add cloud exclusive mention

* The last of it... Until Loris edits

Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-04-21 12:37:15 -04:00
ian
68066eccb7 Remove UTC conversion from date, time and datetime fields (#10956)
* Remove UTC conversion from date, time and datetime fields

* Fix mysql / maria timestamps when not in UTC timezone

* Add sequential tests with node timezone change

* Increase connection attempt check

* Add error catching in tests flow setup

* Check for server connectivity

* Fix promises

* Fix timestamp inconsistencies

* Revert to previously used parseISO

* Ensure database and directus connection

* Add another timezone to test positive and negative GMT

* Set local server hostname to localhost

* Add tests for SQLite

* Use notNullable primary key

* Revert connection testing sleep duration

* Fix nested transactions on SQLite

* Increase MSSQL request timeout

* Add type override flag for SQLite

* Remove commented code

* Add type override flags for Oracle

* Updated test file path

* Increase test servers launch timeout

* Increase test servers launch timeout

* Update format of tests

* Fix typo

* Increase test timeout for CockroachDB

* Add type overrides when creating fields through collections service

* Remove time field type conversion for Oracle

* Update collections list in test

* Remove check for time field in Oracle

* Add missing continue...

* Remove database override

* Add note for SQLite

* Rename flags and extract shared util

* Abstract remaining DB specific checks

* Revert flags renaming except renaming of test files

* Use date helper to add field flag

* Move field date typecasting upstream

* Use timestamp helper for date-created and date-updated

* Fix tests

* Remove unused vars

* Add tests for date-created

* Increase connection attempt count

* Fix test for mariadb

* Increase allowable difference to account for delays

* Add tests for date-updated

* Fix tests again for mariadb

* Add date helpers post merge

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-04-06 16:15:22 -04:00
Eron Donevan Powell
3d9e325048 Docs: Data Sharing (#11579)
* .gitignored package-lock.json that was created in the docs subfolder

* Initial Data Shares Draft

* Finished copy of first, unedited draft

* added static images

* more copy polish and videos

* polished, awaiting comments

* added Ben's awesome edits

* added new media content and copy tweaks

* fixed broken link

* Update docs/app/data-sharing.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update docs/app/data-sharing.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update docs/app/data-sharing.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

* Update docs/app/data-sharing.md

Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-04-04 10:30:47 -04:00
Eron Donevan Powell
29cf8e1519 Docs: File Library (#11950)
* restructured file-library outline

* completed 3 sections, added action btn to CSS

* finished upload file and replace file sections

* completed full documentation refactor. media and proofreading remain

* updated media, except rename and delete folder vids

* copy ready. Links tested

* last second tweaks to copy and media

* stated multiple files can be uploaded

* Rijk's suggestions added and one final pass on copy edits

Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.hitronhub.home>
2022-03-14 16:07:56 -04:00
Eron Donevan Powell
a76e6b2120 Docs: User Directory (#11728)
* .gitignored package-lock.json that was created in the docs subfolder

* First User Directory Rough Draft Complete

* added footer

* restructured outline

* 2nd Rough Draft Complete, no pics and not proofread

* added photos

* added all media and polished copy

* Finished admin options section

* Applied Rijk's copy suggestions

* fixed date in information bar media issue

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
2022-03-10 09:58:37 -05:00
Eron Donevan Powell
e66452ac6f Docs: Settings (#12038)
* initial pass on copy

* Finished Settings

* rijk's suggestions

* real final tweak

Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
2022-03-10 09:56:09 -05:00
Eron Donevan Powell
6006b1215b Docs: Filters (#11330)
* added package-lock.json into gitignore

* added filters.md draft doc

* added header intro and section headers

* full outline and 60% of copy

* more fitlers doc copy

* copy 95% complete

* Filters doc as good as done

* small copy tweaks

* Decrease size of dividers in nav, add section with filters

* fixed dynamic var vid

* fixed filter-rules type-o

Co-authored-by: Eron Powell <eronpowell@Erons-MBP-2.local>
Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-03-07 19:22:46 -05:00
Eron Donevan Powell
1bc7da6967 Docs: update CSS and pics (#11634)
* .gitignored package-lock.json that was created in the docs subfolder

* tweaked color names, except the ones in in vue files

* converted terminal screencaps into markdown

* updated images in 'Content'

* updated user-directory images

* updated media in file-library

* moved picsto cloud in reference>files

* updated images in config > datamodels > relationships

* updated primary colors in app-overview.svg

* updated insights images

* swapped quickstart-guide media and touched up copy

* Update last colors, remove linting from docs temporarily

* Fix theme color

* Update homepage header image

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-02-21 15:32:09 -05:00
Nitwel
156bf0c8e9 fix icon image having a border. (#11339) 2022-01-29 14:56:29 -05:00
Eron Donevan Powell
8daed9c41b Docs: The Insights Module (#11175)
* Added insights docs draft and images

* updated insights draft doc images, grammar, links and beyond

* adjusted text and formatting in several areas

* minor language tweak

* removed local images. refromatted ::: on tips

* spaced ::: before and after

* Minor editing tweaks to headers and copy

* added link to explain panels in 'how it works'

* Added link on time sseries 'group aggregation' to the 'more on aggregate functions' section.

* Add standardized style for images/videos

* fixed naming on mp4 videos

* Tweak styles a bit

* Remove old nav link

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-01-29 17:41:57 +00:00
Nitwel
1e37429d7e Make docs a lot more fancy. (#10898)
* add images to content, file-library and user-directory pages of docs

* turn buttons from png to inline html and replace gifs with mp4s

* add a ton of icons everywhere

* add icons to presets & bookmarks

* add icons to webhooks

* add icons and clean up quickstart guide

* clean up icons and videos

* Move video assets to CDN

* Use updated video file naming system

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-01-29 12:25:54 -05:00
Azri Kahar
6368f641e5 Add CSV/JSON Import capability via App (#11050)
* Allow import data to collections via App directly

* clear file input after import

* tweak translations

* reduce vertical gap

* fix clear file input logic

* Change export data button text

* update start import button disabled color

* undo unintended changes to translations quotes

* add docs for importing items sidebar

* update exporting items docs

* Combine import/export sidebar details

* Remove unused import detail

* Fix docs

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2022-01-20 16:57:29 -05:00
Azri Kahar
4d97597e8f Add Archive sidebar component (#10513)
* move archive to dedicated sidebar component

* fix unarchive dialog & notification

* update docs on viewing archived items

* remove commented code

* use radio btns, update options text & query string

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-12-16 22:30:00 +00:00
Azri Kahar
19cbe896b4 docs updates on file library, content sidebar etc (#10334) 2021-12-06 09:36:00 -05:00
Azri Kahar
e25043dd96 tweaks for mentions, notifications & conditions (#10184) 2021-12-01 09:48:50 -05:00
Ben Haynes
776615bf66 link updates (#9608) 2021-11-11 15:26:05 -05:00
ian
b9c3e18796 Fix existing files drawer selection (#9609)
Co-authored-by: Jose Varela <joselcvarela@gmail.com>
2021-11-11 14:40:18 -05:00
Ben Haynes
e6927cd715 collections to content (#9607) 2021-11-09 20:05:03 +08:00
Ben Haynes
b885d5724e clean up in-app docs (#9606) 2021-11-09 20:04:22 +08:00
Ben Haynes
a3516c6bcd doc app links should not point externally (#9605) 2021-11-09 20:03:42 +08:00
Ben Haynes
1a93c39a78 update in-app docs nav (#9610)
* update in-app docs nav

* remove section from in-app docs
2021-11-08 15:43:50 +00:00
Jay Cammarano
fb7ee458db Fixes broken links in the documentation (#9354)
* broken links

* more broken links

* last but not least
2021-11-02 10:27:15 -04:00
Jay Cammarano
6be0ab2c25 Fixes broken docs links (#9327)
* a few more dead links

* one last link set

* fixed bad link
2021-11-01 17:37:50 -04:00
Jay Cammarano
28c59c2dc4 fixes many dead links (#9325) 2021-11-01 21:11:12 +00:00
Ben Haynes
fa816107cc add content and fix broken links (#9321) 2021-11-01 16:52:07 -04:00
Ben Haynes
6ec467e1dc Fixes for docs links 2021-10-29 12:32:02 -04:00
Jay Cammarano
29b0fb9b8b Fixes broken links in docs (#9172)
* first half of broken links fixed

* next chunk of broken links resolved

* next chunk of urls

* last chunk of links

* one more

* filter rules

* homepage links

* removed localhost

* filter rules for query

* updated links

* relationships link

* changed links from references to glossary
2021-10-27 17:22:43 -04:00
Ben Haynes
1b87e4555f Docs structure (#9071)
* WIP

* updates

* docs updates

* structure

* big structure update

* docs module icon change

* in-app docs nav

* more content and structure changes

* Remove redundant

* Fix docs build in app

Co-authored-by: rijkvanzanten <rijkvanzanten@me.com>
2021-10-25 21:19:23 -04:00