Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from 35 commits
Commits
Show all changes
134 commits
Select commit Hold shift + click to select a range
40eb82b
wip(libs): update node libs
koromerzhin Apr 25, 2023
7b9e933
wip(libs): update config webpack
koromerzhin Apr 25, 2023
2b45f46
fix(workflow): bug with entity
koromerzhin Apr 25, 2023
6951186
fix(scss): with stylelint
koromerzhin Apr 26, 2023
9c522fa
fix(extension): update
koromerzhin May 2, 2023
35372a1
fix(extension): split filters + functions
koromerzhin May 2, 2023
4508cf5
fix(extension): use linter
koromerzhin May 2, 2023
57ca1da
fix(lint): update stylelint
koromerzhin May 4, 2023
54607d6
fix(libs): update PHP + nodejs
koromerzhin May 4, 2023
ca3f6ea
fix(extension): imagefilter is a filter
koromerzhin May 4, 2023
1aa7360
fix(extension): function in snake case
koromerzhin May 4, 2023
59b9f23
fix(php): linter + add groupes to block + layout
koromerzhin May 4, 2023
5c9636c
fix(paragraphs): update if render redirect
koromerzhin May 5, 2023
213a355
wip(paragraphs): form paragraphs
koromerzhin May 9, 2023
c4b30a5
fix(scss): back without global
koromerzhin May 9, 2023
63202ae
wip(form): add disclaimer, change password, login and lost password
koromerzhin May 26, 2023
d8615fd
fix: update state fixtures + block not in pages
koromerzhin Jun 1, 2023
8e723ad
fix(php): update libs
koromerzhin Jun 5, 2023
82a542d
wip(css): change style
koromerzhin Jun 14, 2023
b6098e8
fix(rector): update to 0.17.1
koromerzhin Jun 14, 2023
8ec1520
fix(config): update php libs
koromerzhin Jun 19, 2023
9772201
fix(php): phpmd
koromerzhin Jun 19, 2023
65e1d0e
fix(php): update composer
koromerzhin Jun 19, 2023
7cb63f1
fix(ci/cd): add retry
koromerzhin Jun 19, 2023
31ca9c6
fix(ci/cd): add retry
koromerzhin Jun 19, 2023
6733446
fix(ci/cd): add retry
koromerzhin Jun 19, 2023
bb5051c
fix(ci/cd): add retry
koromerzhin Jun 19, 2023
cc61872
fix(doctrine): correction d:s:u complete
koromerzhin Jun 19, 2023
f797bcf
fix(ci/cd): update name steps
koromerzhin Jun 20, 2023
2eb649c
fix(ci/cd): add cache to npm
koromerzhin Jun 20, 2023
571c60b
feat(docker): update to php 8.2.7
koromerzhin Jun 21, 2023
abfc594
fix(command): update node
koromerzhin Jun 21, 2023
b3fba6a
fix(libs): update symfony 6.3 to 6.3.1
koromerzhin Jun 26, 2023
92bff06
fix(markdown): correction README
koromerzhin Jun 27, 2023
d6a5b1f
wip(storybook): init
koromerzhin Jul 13, 2023
927bcb3
wip(storybook): with twig
koromerzhin Jul 13, 2023
0fa55e7
feat(storybook): init with webpack
koromerzhin Jul 18, 2023
86ac7d8
fix(storybook): delete log
koromerzhin Jul 18, 2023
b4eda8b
fix(apps): update libs PHP + JS
koromerzhin Jul 18, 2023
d928626
fix(libs): move lit
koromerzhin Jul 18, 2023
c4e8167
fix(php): delete useless files
koromerzhin Jul 18, 2023
aafed2c
wip(assets): move files to storybook
koromerzhin Jul 19, 2023
96582be
wip(storybook): move files
koromerzhin Jul 19, 2023
3c2a984
fix(libs): update PHP + js
koromerzhin Jul 19, 2023
c45f8fd
wip(storybook): init new file
koromerzhin Jul 19, 2023
3612ffa
wip(storybook): enable all elementHTML
koromerzhin Jul 19, 2023
fe83343
wip(storybook): change config webpack
koromerzhin Jul 21, 2023
2dca768
fix(storybook): change config
koromerzhin Jul 27, 2023
415e21f
fix(libs): update PHP libs
koromerzhin Jul 27, 2023
4f93c99
fix(docker): update to PHP 8.2.8
koromerzhin Jul 27, 2023
c564b92
fix(stories): split Front + Back
koromerzhin Jul 27, 2023
e6f6148
fix(stories): move components
koromerzhin Jul 27, 2023
09ca16b
fix(admin): change url admin
koromerzhin Jul 27, 2023
e9e01df
fix(assets): correction cli
koromerzhin Jul 27, 2023
cb13b8c
fix(php): correction bookmark libelle
koromerzhin Jul 27, 2023
ac45762
fix(storybook): delete old text
koromerzhin Jul 27, 2023
ac684cc
fix(components): update
koromerzhin Jul 27, 2023
8fdfbde
fix(libs): update config
koromerzhin Jul 31, 2023
97f83e9
fix(libs): update PHP + Js
koromerzhin Aug 1, 2023
d799953
feat(stories): add form element for BACK and FRONT
koromerzhin Aug 4, 2023
2511422
fix(php): correction block
koromerzhin Aug 9, 2023
0fe3014
fix(php): correction block
koromerzhin Aug 9, 2023
9c5d982
fix(lib): update PHP lib
koromerzhin Aug 9, 2023
b67e8b4
feat(config): update libs php
koromerzhin Sep 5, 2023
3edd92e
fix(libs): update PHP + JS + CSS
koromerzhin Sep 18, 2023
e649de9
fix(lint): all
koromerzhin Sep 18, 2023
5229e33
fix(php): use linter
koromerzhin Sep 18, 2023
f94a557
fix(assets): begin front
koromerzhin Sep 18, 2023
82ecfa4
fix(php): update blocks + paragraphs
koromerzhin Sep 21, 2023
57792df
wip(style): disclaimer + login
koromerzhin Sep 22, 2023
31b5b7e
wip(styles): add scss files
koromerzhin Sep 25, 2023
7ba2909
fix(php): correction copy past
koromerzhin Sep 25, 2023
dd33bd5
fix(php): update conf
koromerzhin Sep 25, 2023
4122223
update lib PHP + NODE
koromerzhin Oct 2, 2023
eb2ea1b
fix(linter): update PHP + nodejs
koromerzhin Oct 2, 2023
cff7c0a
fix(lint): update config
koromerzhin Oct 11, 2023
e324d8c
fix(php): update libs
koromerzhin Oct 18, 2023
7ff876c
feat(ckeditor): use ckeditor config
koromerzhin Oct 31, 2023
e5d674f
Update dependencies in composer.json
koromerzhin Nov 10, 2023
70bae72
Update devDependencies in package.json
koromerzhin Nov 10, 2023
ab1f630
Refactor WYSIWYG plugin imports and remove unused
koromerzhin Nov 10, 2023
12ed962
Added new button templates and updated collection
koromerzhin Nov 10, 2023
4dcaa24
Refactor code to improve performance and
koromerzhin Nov 13, 2023
b0eb5ba
Add guard templates for route and workflow
koromerzhin Nov 13, 2023
38bc8f0
Update doctrine/doctrine-bundle version to 2.11.
koromerzhin Nov 13, 2023
d60e44b
Refactor code for improved readability and
koromerzhin Nov 15, 2023
a68db2c
Update dependencies in composer.json
koromerzhin Nov 15, 2023
4ae228a
Update Doctrine ORM and Doctrine Fixtures Bundle
koromerzhin Nov 16, 2023
62f2dec
Fix embed syntax in guard templates
koromerzhin Nov 16, 2023
d46ffee
Update knp-paginator-bundle version
koromerzhin Nov 21, 2023
18cf870
Update Symfony and Twig dependencies
koromerzhin Nov 23, 2023
92921a5
Add white color to login footer
koromerzhin Nov 23, 2023
08d262d
Update Doctrine configuration
koromerzhin Nov 23, 2023
bb18fc4
Update dependencies in composer.json
koromerzhin Nov 28, 2023
988b629
Fix bug in login functionality
koromerzhin Nov 28, 2023
baca69e
Update CKEditor dependencies to version 40.1
koromerzhin Nov 28, 2023
0ac3459
Update package dependencies
koromerzhin Nov 28, 2023
2da5f58
Update composer.json dependencies
koromerzhin Dec 21, 2023
469c5be
Update PHP version to 8.3.0-fpm
koromerzhin Dec 21, 2023
77d62a9
Remove ApiResource annotation from entity classes
koromerzhin Jan 16, 2024
1974a97
Update dependencies and remove unused imports
koromerzhin Jan 16, 2024
595ada8
Remove unused configuration files
koromerzhin Jan 16, 2024
c48e507
Remove unused code and update Symfony dependencies
koromerzhin Jan 16, 2024
801e420
Remove unnecessary blank line in UploadAnnotationReader class
koromerzhin Jan 16, 2024
bfd7a63
Add Gedmo Doctrine extensions and softdeleteable filter
koromerzhin Jan 16, 2024
6b13810
Add stof/doctrine-extensions-bundle to composer.json
koromerzhin Jan 16, 2024
481a678
Refactor code to improve performance and readability
koromerzhin Jan 16, 2024
535de26
Fix typo in softdeleteable configuration
koromerzhin Jan 16, 2024
a1935f3
Remove CKEditor script tag from base.html.twig
koromerzhin Jan 16, 2024
9289ca0
Update dependencies in composer.lock and package.json
koromerzhin Jan 16, 2024
0901ca6
Update sass-loader version to 13.3.3
koromerzhin Jan 16, 2024
f16ef8c
Update .env.test file with CORS_ALLOW_ORIGIN configuration
koromerzhin Jan 16, 2024
5fb4322
Update CI workflow in ci.yml
koromerzhin Jan 16, 2024
74b607d
Update CI workflow and add launch workflow
koromerzhin Jan 16, 2024
834173a
Add launch workflow for lampy repository
koromerzhin Jan 16, 2024
5f98f27
Add docker ls step to CI workflow
koromerzhin Jan 16, 2024
6a4097b
Update npm run command in CI workflow
koromerzhin Jan 16, 2024
e63c3ff
Add "needs: tests" to launch job
koromerzhin Jan 16, 2024
efeec60
Update artifact names in CI workflow
koromerzhin Jan 16, 2024
0dd1e6e
Update dependencies in composer.json
koromerzhin Jan 30, 2024
ffd46a6
Update dependencies in composer.json
koromerzhin Feb 6, 2024
ff7df6d
Ajout de fichiers de configuration et de templates pour Sonata Admin
koromerzhin Feb 20, 2024
d481017
Suppression des fichiers et des configurations Sonata Admin
koromerzhin Mar 20, 2024
a994469
Suppression des annotations ApiResource(routePrefix: '/block') et Api…
koromerzhin Mar 20, 2024
8b9ca64
Mise à jour de l'image PHP dans docker-compose.yml et ajout de fichie…
koromerzhin Mar 26, 2024
d88b034
Suppression des imports inutilisés dans les fichiers d'entité et de s…
koromerzhin Mar 26, 2024
1e8ea66
Mise à jour du hachage de contenu dans composer.lock
koromerzhin Mar 26, 2024
f1e5e0a
Ajouter le service HttpErrorService pour gérer les erreurs HTTP
koromerzhin Mar 26, 2024
24a24fc
Corrections de comparaison de chaînes vides dans les contrôleurs et l…
koromerzhin Mar 28, 2024
dd3899d
Modifications des entités History, Redirection, Groupe, Attachment et…
koromerzhin Apr 2, 2024
04723eb
Mise à jour des services de gestion
koromerzhin Apr 2, 2024
d7c7360
Ajouter des fichiers et des formulaires pour la gestion des pages et …
koromerzhin Apr 2, 2024
4265999
Add templates and forms for managing pages and layouts
koromerzhin Jun 6, 2024
1ac1a20
feat: Add admin entry to webpack configuration
koromerzhin Jun 6, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions .babelrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"sourceType": "unambiguous",
"presets": [
[
"@babel/preset-env",
{
"targets": {
"chrome": 100
}
}
],
"@babel/preset-typescript"
],
"plugins": []
}
6 changes: 3 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@
"es2021": true
},
"extends": [
"standard"
"standard",
"plugin:storybook/recommended"
],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
}
"rules": {}
}
17 changes: 15 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,18 @@ jobs:
ref: 'v2.0'
repository: koromerzhin/lampy
path: lampy
- name: Cache npm packages
id: npm-cache
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install npm dependencies
if: steps.npm-cache.outputs.cache-hit != 'true'
run: npm install
- name: 'set .env'
- name: 'set apps/.env'
run: 'cp apps/.env.test apps/.env'
- name: 'set .env'
run: 'cp .env.example .env'
Expand All @@ -40,7 +49,11 @@ jobs:
- name: 'docker ls'
run: npm run docker:ls
- name: linter PHP Code Sniffer
run: npm run lint:phpcs:error
uses: nick-fields/retry@v2
with:
timeout_minutes: 10
max_attempts: 3
command: npm run lint:phpcs:error
- name: linter PHP MD
run: npm run lint:phpmd
- name: linter PHPMND
Expand Down
19 changes: 19 additions & 0 deletions .storybook/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
/** @type { import('@storybook/web-components-webpack5').StorybookConfig } */
const config = {
stories: [
"../stories/**/*.mdx",
"../stories/**/*.stories.@(js|jsx|ts|tsx)"
],
addons: [
"@storybook/addon-links",
"@storybook/addon-essentials"
],
framework: {
name: "@storybook/web-components-webpack5",
options: {},
},
docs: {
autodocs: "tag",
},
};
export default config;
14 changes: 14 additions & 0 deletions .storybook/preview.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
/** @type { import('@storybook/web-components').Preview } */
const preview = {
parameters: {
actions: { argTypesRegex: "^on[A-Z].*" },
controls: {
matchers: {
color: /(background|color)$/i,
date: /Date$/,
},
},
},
};

export default preview;
24 changes: 15 additions & 9 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
{
"extends": "stylelint-config-standard",
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["extend", "include"]
}
]
}
"extends": "stylelint-config-standard",
"rules": {
"import-notation": [
"string"
],
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"extend",
"include"
]
}
]
}
}
13 changes: 5 additions & 8 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
{

"files.exclude": {
"**/apps/var/cache": true,
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
Expand All @@ -10,12 +9,12 @@
"**/Thumbs.db": true
},
"search.exclude": {
"**/apps/var/cache": true,
"**/apps/var": true,
"**/apps/vendor": true,
"**/node_modules": true
},
"files.watcherExclude": {
"**/apps/var/cache": true,
"**/apps/var": true,
"**/apps/vendor": true,
"**/node_modules": true
},
Expand All @@ -30,13 +29,11 @@
"**/vendor/**/{Tests,tests}/**",
"**/.history/**",
"**/vendor/**/vendor/**",
"**/apps/var/cache/**",
"**/apps/var/**",
],
"php.files.exclude": [
"**/node_modules/**"
"**/apps/var/cache/**"
"**/apps/var/**"
],
"php.executablePath": "/bin/php",
"phpstan.binPath": "apps/phpstan.phar",
"phpstan.configFile": "apps/phpstan.neon"
"php.executablePath": "/bin/php"
}
19 changes: 19 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "composer:outdated",
"problemMatcher": [],
"label": "npm: composer:outdated",
"detail": "docker exec -i $($npm_package_config_phpfpm) symfony composer outdated"
},
{
"type": "npm",
"script": "composer:update",
"problemMatcher": [],
"label": "npm: composer:update",
"detail": "docker exec -i $($npm_package_config_phpfpm) symfony composer update"
}
]
}
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ npm run cmd:install:dev

| Username | Password | Email | enable | Check | Lost |
| ---------- | -------- | ------------------- | ------ | ----- | ----- |
| disable | password | disable@email.fr | FALSE | TRUE | FALSE |
| unverif | password | unverif@email.fr | FALSE | FALSE | FALSE |
| lost | password | lost@email.fr | FALSE | TRUE | TRUE |
| admin | password | admin@email.fr | TRUE | TRUE | FALSE |
| superadmin | password | superadmin@email.fr | TRUE | TRUE | FALSE |
| disable | password | <disable@email.fr> | FALSE | TRUE | FALSE |
| unverif | password | <unverif@email.fr> | FALSE | FALSE | FALSE |
| lost | password | <lost@email.fr> | FALSE | TRUE | TRUE |
| admin | password | <admin@email.fr> | TRUE | TRUE | FALSE |
| superadmin | password | <superadmin@email.fr> | TRUE | TRUE | FALSE |

## Author

Expand Down
1 change: 1 addition & 0 deletions apps/.env.test
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ APP_SECRET='$ecretf0rt3st'
SYMFONY_DEPRECATIONS_HELPER=999999
PANTHER_APP_ENV=panther
PANTHER_ERROR_SCREENSHOT_DIR=./var/error-screenshots
LOCK_DSN=flock
5 changes: 5 additions & 0 deletions apps/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,8 @@ yarn-error.log
/phpunit.xml
.phpunit.result.cache
###< phpunit/phpunit ###

###> squizlabs/php_codesniffer ###
/.phpcs-cache
/phpcs.xml
###< squizlabs/php_codesniffer ###
Loading