39 Commits

Author SHA1 Message Date
Alexandre Bodin
92055a7fb1 chore: use rollup
chore: fetch template only if name matches name convention

chore: linting

chore: fix tests

chore: fix npm scripts

test: try to fix test
2025-01-23 16:28:23 +01:00
Alexandre Bodin
c641525963 chore(create-strapi-app): implement new templates system 2024-08-26 14:57:45 +02:00
Marc Roig
099cbbec8e
Merge branch 'develop' into v5/main (#20566)
* Merge branch 'develop' into v5/main

* fix: missing dependency

* fix: yarn lock

* fix: prettier

* fix(cloud-cli): update types and structure for v5 (#20567)

* chore: skip cloud deployment until ready

* fix: webhook tests

* chore: revert schema changes

* fix: versions

---------

Co-authored-by: Nathan Pichon <nathan.pichon@strapi.io>
2024-06-21 13:38:56 +02:00
Ben Irvin
710e683d6b
enhancement: improve gitignore in generated projects (#20348) 2024-05-22 08:56:53 +02:00
Josh
e188aac623 Merge branch 'develop' into v5/main 2024-04-08 15:21:08 +01:00
Ben Irvin
faf860ce0c chore: ignore nx cache 2024-04-04 09:47:28 +02:00
Alexandre Bodin
e42216c4ab chore: ugprade nx 2024-04-03 15:59:00 +02:00
Ben Irvin
7b669622a6
chore: move cli-tests to tests/cli 2024-04-03 11:56:00 +02:00
Ben Irvin
cf82c830d8
test: restructure test dirs 2024-04-02 11:19:43 +02:00
markkaylor
97eb67b367
chore(tests): backport e2e config (#19654) 2024-03-05 09:09:44 +01:00
Josh
306b218011
chore(examples): remove the generated types (#18845)
* chore(examples): remove the generated types

* chore(tooling): explicitly add generated types to root gitignore
2023-11-20 09:26:53 +00:00
Alexandre Bodin
4a615f2db4 test: add e2e tooling
Remove old cypress related files

Update config and reorg tests

Run test app before running playwright tests

feat: add beginning of authentication test

feat: add app template with database dumping ability

chore: pr amends

Run test app before running playwright tests

feat: add beginning of authentication test

feat: add app template with database dumping ability

chore: pr amends

init deits

fix: e2e test

chore: rename to e2e

chore: commit tar for data

Init playwright

Run test app before running playwright tests

feat: add beginning of authentication test

feat: add app template with database dumping ability

chore: pr amends

chore: remove unneeded workflow

fix: add private: true to the template so `test-apps` aren't published

docs: add docs

chore: add warning about DTS caveats

chore: tweak docs

docs(e2e): add correct route to api example for template

chore: fix package.json tests

chore: update from feature/DEITS

chore: updates from DTS

chore: update data-transfer

Update yarn.lock

fix: remove duplicate type

chore(e2e): set up folder structure

fix(e2e): avoid clearing 'admin_' DB tables through DTS or DB Dump

feat(e2e): DTS scripts and backup files

add route to change rate limit

fix wront appPath for API test in CI

no template by default when creating a test app

Fix typo double equal

fix template path for e2e tests

chore(e2e): fix broken signup spec

feat(e2e): basic logout test spec

Login e2e tests

globalSetup attempt

use withAdmin backup

cleanup

fix playwright config & rate limit test

remove example.spec.js

refactor and merge some login tests

Chore: Cleanup login and signup specs

feat(e2e): sign up password error cases

feat(e2e): add homepage expectation to signup spec

refactor(e2e)

refactor(e2e): signUp

refactor(e2e): use global login util for logout and logins specs

Init playwright

fix: remove duplicate type

chore: uncomment transfer route registering

Update yarn.lock

chore: update data-transfer

chore: updates from DTS

chore: update from feature/DEITS

chore: fix package.json tests

docs(e2e): add correct route to api example for template

chore: tweak docs

chore: add warning about DTS caveats

docs: add docs

fix: add private: true to the template so `test-apps` aren't published

chore: remove unneeded workflow

chore: pr amends

feat: add app template with database dumping ability

feat: add beginning of authentication test

Run test app before running playwright tests

Init playwright

chore: commit tar for data

chore: rename to e2e

fix: e2e test

init deits

chore: pr amends

feat: add app template with database dumping ability

feat: add beginning of authentication test

Run test app before running playwright tests

chore: pr amends

feat: add app template with database dumping ability

feat: add beginning of authentication test

Run test app before running playwright tests

Update config and reorg tests

Remove old cypress related files

chore(e2e): cleanup e2e dir

chore(docs): improve e2e testing documentation

chore(docs): PR feedback

chore: tweak action to run browsers in matrix & build packages

chore: fix tests based on merge

chore: shuffle e2e tests and add first conent-type

fix: tests

Make use of yarn linking for api & e2e tests

Chore: Fix running backend unit tests

Chore: Bring opts.run back

Chore: Update playwright

Chore: Update Playwright setup

fix: workflow

chore: fix path to package.json

chore: build ts projects before tests

chore: update e2e workflow

chore: add no-immutable

Use simpler transfer token to avoid misinterpretation

Remove console.log

Ensure that the custom transfer token exists in the e2e test app's database upon startup

Use the custom transfer token for transferring data to the e2e test app

Fix code analysis warning

Define and export a constant for the custom transfer token

Allow passing a custom access key for the transfer token service

chore: add test-apps to workspace

chore: update lockfile
Co-Authored-By: Josh <37798644+joshuaellis@users.noreply.github.com>
Co-Authored-By: Gustav Hansen <gu@stav.dev>
Co-Authored-By: Alexandre BODIN <alexandrebodin@users.noreply.github.com>
Co-Authored-By: Jean-Sébastien Herbaux <25851739+Convly@users.noreply.github.com>
2023-07-25 14:20:49 +01:00
Josh
0f008b4913 chore: use yarn3
chore: commit yarn release

chore: don't use -s

fix: eslint deps

https://eslint.org/docs/latest/extend/shareable-configs#publishing-a-shareable-config

chore: fix eslint

chore: remove -s

fix: lint

chore: yarn 3 amends

chore: dont use npm run all

chore: fix securitylockfile action

chore: update lockfile post rebase

Revert "Delete index.js"

This reverts commit e6009ec7cf13fb9edd93a7bf820b0f50af5dcb54.

Delete index.js

chore: remove validate-https because how yarn3 works

chore: remove validate-https

chore: use same time of cache everywhere
2023-03-24 11:38:14 +00:00
Alexandre BODIN
aaeb988a0b
Expand nx usage and migrate logger to ts (#15957) 2023-03-22 11:21:33 +01:00
Ben Irvin
a930c2262e add eslint cache option 2022-12-19 14:27:17 +01:00
Pierre Noël
c45a4c3753 add a postgres schema for tests in .github 2022-11-17 12:52:31 +01:00
Convly
ef3650f073 Merge branch 'releases/v4' into v4/graphql-schema-generation-refactor 2021-09-27 10:33:31 +02:00
Alexandre Bodin
d2e523d942 Upgrade @strapi/strapi dependencies 2021-09-27 08:30:11 +02:00
Convly
4737eff9f9 Fix PR review comments 2021-09-23 17:25:25 +02:00
Convly
ce86450bf4 Update .gitignore 2021-07-26 17:28:29 +02:00
Alexandre Bodin
ab3760bb66 Rename import & requires, fix tests 2021-04-29 13:51:12 +02:00
Convly
44b213dc6d Fix memory leak (causing heap overflow)
Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2021-01-08 10:09:06 +01:00
Jean-Sébastien Herbaux
a583d1b859
Fix/#3184/fix server crashs on database change (#5703)
* Don't set connection field on create/edit operation on content-types & components

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Make sure that every component has a valid connection attribute

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove connection check on components load

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove default connections from core & webhook stores but make sure it's defined in the application lifecycle

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix component's associations that can be undefined instead of empty in populateBareAssociations

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove "default" connection from plugins' models

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove connection attribute from generated models (cli)

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Mutate each component instead of reassign

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Build core_store and webhook model based on the current config

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Add connection to templates conditionally (based on args)

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Set default value for description to undefined instead of empty string

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove unnecessary complexity

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Update getStarted models

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Fix attributes parsing for generate:model

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Removed tpl option from generate:model/api

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>

* Remove tpl option from cli

Signed-off-by: Convly <jean-sebastien.herbaux@epitech.eu>
2020-04-07 16:31:44 +02:00
soupette
37ed213b6d Fixes #3472 2019-06-19 11:51:44 +02:00
soupette
23fe34a6c4 Change build folder 2019-04-24 14:38:21 +02:00
Alexandre Bodin
eb9e53028e Add yarn lock 2019-04-16 09:05:47 +02:00
Jim LAURIE
d7e88cf676 Fix package lock and other things 2019-03-08 18:48:35 +01:00
soupette
d98db6415b Add cypress in monorepo and split by package 2018-11-22 19:19:04 +01:00
Jim LAURIE
b9bf30f8b5 Fix conflict 2018-10-09 15:35:21 +02:00
Martin Muzatko
8e727b18c5 cleanup of dist and added docs dist to gitignore 2018-10-09 09:55:41 +02:00
Alberto Maturano
154fc28a57 Normalize to standar file permissions
As a result of taking a look on PR #1967 I realized there is 819
executable files in this repository. It is obvious this is an error.
2018-09-24 12:33:09 -05:00
DMehaffy
b8adba1e23 Finish adding Discord to Providers.js
Thanks to synth3tk for your help!

Note that with Discord the username is not unique so I combined the username and discriminator in order to store a unique "username"
2018-07-29 17:43:45 -07:00
Pierre Burgy
055cc4cea6 Delete _book folders 2017-10-11 10:44:05 +02:00
Aurelsicoko
79277a87b8 Update .gitignore 2017-10-10 11:20:27 +02:00
Aurelsicoko
207fea288e Create symlink after npm install 2017-08-17 16:46:27 +02:00
Pierre Burgy
9defae7162 Add package-lock.json in gitignore files 2017-08-11 09:58:00 +02:00
Aurélien Georget
77051bde19 Update dependencies and fix setup 2017-03-09 15:25:15 +01:00
loicsaintroch
5a580dd6d1 Move website to MkDocs 2016-04-04 21:51:00 +02:00
loicsaintroch
02597489f4 Initial release 2015-10-01 00:30:16 +02:00