nodefony 6.9.1 → 6.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +134 -0
- package/README.md +2 -5
- package/autoloader.es6 +4 -3
- package/cli/builder/bundles/users-bundle/Command/usersCommand.js +1 -1
- package/cli/builder/bundles/users-bundle/Entity/sequelize/userEntity.js +5 -1
- package/cli/builder/bundles/users-bundle/Resources/config/webpack.config.js +4 -0
- package/cli/builder/bundles/users-bundle/Resources/graphiql/graphiql.jsx +40 -4
- package/cli/builder/bundles/users-bundle/Resources/scss/users.scss +9 -10
- package/cli/builder/bundles/users-bundle/Resources/swagger/swagger.js +3 -2
- package/cli/builder/bundles/users-bundle/Resources/translations/login.en_en.yml +3 -1
- package/cli/builder/bundles/users-bundle/Resources/translations/login.fr_fr.yml +2 -0
- package/cli/builder/bundles/users-bundle/Resources/views/documentation/base.html.twig +1 -2
- package/cli/builder/bundles/users-bundle/Resources/views/footer.html.twig +2 -4
- package/cli/builder/bundles/users-bundle/Resources/views/graphiql/index.html.twig +4 -9
- package/cli/builder/bundles/users-bundle/Resources/views/header.html.twig +63 -66
- package/cli/builder/bundles/users-bundle/Resources/views/swagger/index.html.twig +4 -12
- package/cli/builder/bundles/users-bundle/controller/api/graphql/graphqlController.js +2 -0
- package/cli/builder/bundles/users-bundle/controller/usersController.js +1 -1
- package/cli/builder/bundles/users-bundle/package.json +24 -23
- package/cli/builder/microService/skeletons/config/pm2.config.js +1 -1
- package/cli/builder/microService/skeletons/config/webpack/webpack.config.dev.js +1 -6
- package/cli/builder/microService/skeletons/config/webpack/webpack.config.prod.js +1 -6
- package/cli/builder/microService/skeletons/config/webpack.config.js +40 -34
- package/cli/builder/microService/skeletons/package.json +27 -22
- package/cli/builder/microService/skeletons/src/browser/index.css +1 -1
- package/cli/builder/microService/skeletons/src/browser/index.js +1 -3
- package/cli/builder/microService/skeletons/src/browser/socketio.js +46 -0
- package/cli/builder/microService/skeletons/src/node/examples/index.js +12 -52
- package/cli/builder/microService/skeletons/src/node/index.js +18 -18
- package/cli/builder/microService/skeletons/src/node/services/servers/http.js +9 -1
- package/cli/builder/microService/skeletons/src/node/services/servers/https.js +9 -1
- package/cli/builder/microService/skeletons/src/node/services/socketio/socketio.js +15 -12
- package/cli/builder/microService/skeletons/src/templates/base.html +12 -0
- package/cli/builder/microService/skeletons/src/templates/socket.html +23 -0
- package/cli/builder/project/skeletons/README.md +2 -5
- package/cli/builder/project/skeletons/package.json.skeleton +6 -6
- package/cli/builder/sandbox/skeletons/Resources/js/entry.js +2 -2
- package/cli/builder/skeletons/config/nodefony/http-bundle.js +5 -3
- package/cli/builder/skeletons/config/nodefony/redis-bundle.js +16 -11
- package/cli/builder/skeletons/config/webpack.config.js +3 -3
- package/cli/builder/skeletons/package.json +21 -18
- package/cli/install/install.js +2 -1
- package/cli.es6 +6 -12
- package/error.es6 +2 -1
- package/kernel/api/graphqlApi.es6 +17 -7
- package/kernel/bundle.es6 +1 -1
- package/kernel/cliKernel.es6 +1 -1
- package/kernel/controllers/controller.es6 +4 -0
- package/kernel/kernel.es6 +1 -1
- package/kernel/reader.es6 +1 -0
- package/kernel/security/secureArea.es6 +3 -1
- package/nodefony.es6 +1 -1
- package/package.json +33 -33
- package/cli/builder/bundles/users-bundle/Resources/views/index.html.twig +0 -19
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,139 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## v6.10.0 (01/01/1970)
|
|
4
|
+
- [nodefony release 6.10.0](https://github.com/nodefony/nodefony/commit/86f48263f70021f8ca4da8a87db454037c2fa95b)
|
|
5
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/a32b97445c6ed23ea1a6fa5b824c1c93cde314c5)
|
|
6
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/4dbf89d1f5071755c3ab2b51489ff5ce52f21f88)
|
|
7
|
+
- [upgrade redis service](https://github.com/nodefony/nodefony/commit/2415445d76d23ba5c0e47d126952c042c425c66b)
|
|
8
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/61f49ca96bc3e51f6c46b785d07d6fbb26e290e0)
|
|
9
|
+
- [graphql 16 upgrade](https://github.com/nodefony/nodefony/commit/fb8bb7fe093dc9366f4a2cbc3e1239ed7acc07f6)
|
|
10
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/ee20b334f071f4e71d5348b74f07b40bac53095b)
|
|
11
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/a8d90d7758eef8cad3abb2d84776925f2c7c1730)
|
|
12
|
+
- [add nginx config](https://github.com/nodefony/nodefony/commit/71313174749729cc70cff7753f8d31259bf1036e)
|
|
13
|
+
- [debug workflow](https://github.com/nodefony/nodefony/commit/cb9eea11565e9aa971d2520613a9423905ec0e55)
|
|
14
|
+
- [workflow](https://github.com/nodefony/nodefony/commit/f1aebd2159dd618b65f215748364947fce47dd4b)
|
|
15
|
+
- [change syscall generate certificate cmdline](https://github.com/nodefony/nodefony/commit/acf647a856258a8d1976fbbdce7c78719016de72)
|
|
16
|
+
- [workflow](https://github.com/nodefony/nodefony/commit/52e17303840b0249ee16c1340b13b0c64d0d65cb)
|
|
17
|
+
- [workflow](https://github.com/nodefony/nodefony/commit/3c05a9f9a4a26a85fa61b777533b70cb4a1bb7c1)
|
|
18
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/115b84ccef43b3bd991d00086916612a877e543b)
|
|
19
|
+
- [upgrade](https://github.com/nodefony/nodefony/commit/4c670b42d28dbbba343b066836b1fafe255d756c)
|
|
20
|
+
- [clean repo | request | error log](https://github.com/nodefony/nodefony/commit/c556cbb914bdb2f84e004684d78692b15bcf521d)
|
|
21
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/e02058b358c00bd321ef7d91f4de1e5dc9008e9d)
|
|
22
|
+
- [debug cli-table change to cli-table3](https://github.com/nodefony/nodefony/commit/6d4b446460f5afd80d1a647e2dba303f53c41941)
|
|
23
|
+
- [debug cli-table](https://github.com/nodefony/nodefony/commit/a0cd6a9768382ca9d78d1fcbe65a6526cb4fe42d)
|
|
24
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/03380e07534af45aa7ab71fb4e79c7d7a2ccc81d)
|
|
25
|
+
- [change http2 logo debugbar](https://github.com/nodefony/nodefony/commit/7338ab69016e528c91852e66aebfa8dda118ac0a)
|
|
26
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/9ebcc154f356d40ebbbed730c6cd8db0581623d2)
|
|
27
|
+
- [debug lang session](https://github.com/nodefony/nodefony/commit/3e2b917a729e1e6a8b9321527ca4c10327b1cc69)
|
|
28
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/ecb0d66cdb33c9bd515526a1d51eda7e2827c45f)
|
|
29
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/d170db5ac5724f80b11801e0e54660a9de414eae)
|
|
30
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/8e346aa05ebb47242dde7ffa310761d556a03ef3)
|
|
31
|
+
- [add mjs on regexp](https://github.com/nodefony/nodefony/commit/c51950b54f7fee7ca30c7ad55e4bdaf7dbb8689c)
|
|
32
|
+
- [upgrade demo](https://github.com/nodefony/nodefony/commit/7185b93ed2aa516b4a42541496f870e2c88851d0)
|
|
33
|
+
- [add workbox in app](https://github.com/nodefony/nodefony/commit/9871524078889ccf5d013e3f83ef6023f71c4d9c)
|
|
34
|
+
- [upgrade formidable parser | optimize buffer upload](https://github.com/nodefony/nodefony/commit/1b720e3776fcadf1502954364c9a9a795a6a50b5)
|
|
35
|
+
- [clean builder skeleton](https://github.com/nodefony/nodefony/commit/10f58187320c124eb75c2fd90f6218f341f6307c)
|
|
36
|
+
- [add sequelize on nodefony namespace](https://github.com/nodefony/nodefony/commit/bf545591a58f1f4e9687c7fa8983076b3ff2fa02)
|
|
37
|
+
- [upgrade microservice builder](https://github.com/nodefony/nodefony/commit/3d6a86986e57b4e1f1a25d0c41aeac4cc09c7d00)
|
|
38
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/2a3240298d7bb1e8038f7712c6af18c5c2cf1421)
|
|
39
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/6243db6f0eee2eea914808b25d7812a20e209341)
|
|
40
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/8b847b64b53dd8877763102f6d63c8f8cf76b50a)
|
|
41
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/537cfb7ac42034cac8d98d2a4bd91886a7dc5e75)
|
|
42
|
+
- [upgrade redis service](https://github.com/nodefony/nodefony/commit/96eb79f82a93b740a167b410dbab82d4782d3a26)
|
|
43
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/0a33585fb0c5a21d634f6fa5ab1d686d70a05cde)
|
|
44
|
+
- [graphql 16 upgrade](https://github.com/nodefony/nodefony/commit/7953b63cab7447966a8bdccdb014e163b47b8d80)
|
|
45
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/02de3bc1c3590a454dc6d0827092d25880daa113)
|
|
46
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/35facc3accaa9315a1fb08c4ff3175295bc84149)
|
|
47
|
+
- [add nginx config](https://github.com/nodefony/nodefony/commit/950fcab7f02b8e403cf1287fba6c0cd603c726e0)
|
|
48
|
+
- [Create SECURITY.md](https://github.com/nodefony/nodefony/commit/090befdf6cda0d3975882b915480f78599252682)
|
|
49
|
+
- [debug workflow](https://github.com/nodefony/nodefony/commit/7c82be966351105f535a19d0d1665a52ef3bff9b)
|
|
50
|
+
- [workflow](https://github.com/nodefony/nodefony/commit/b7654aa60da6dcd4a249f836d9c90aa253137e42)
|
|
51
|
+
- [change syscall generate certificate cmdline](https://github.com/nodefony/nodefony/commit/fa899cfa1d181e4c9dd93091797a2c2741504f6e)
|
|
52
|
+
- [workflow](https://github.com/nodefony/nodefony/commit/67095a6a69bf6f60dfa221879028bd58531e789f)
|
|
53
|
+
- [workflow](https://github.com/nodefony/nodefony/commit/ef90679f6c1f5135deefbad8314fd2518f3307a2)
|
|
54
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/af742988218d7629f6286b5f1befc2005d410f23)
|
|
55
|
+
- [upgrade](https://github.com/nodefony/nodefony/commit/49667ec5e1273eafc76591987593a662759b95de)
|
|
56
|
+
- [clean repo | request | error log](https://github.com/nodefony/nodefony/commit/7b334c398c0b3344a1ea025039ff27650706c9c5)
|
|
57
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/070872ff794ea7f5ae169ac3a47986bcf2834f3f)
|
|
58
|
+
- [debug cli-table change to cli-table3](https://github.com/nodefony/nodefony/commit/99bfa8e6ce7df36d0e7755b23a47bf7d4e555da0)
|
|
59
|
+
- [debug cli-table](https://github.com/nodefony/nodefony/commit/8a08056e570185726c2806e69c59ff9eccb56e32)
|
|
60
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/2b5594e921931a9cfe037d56ded28869f379a3a6)
|
|
61
|
+
- [change http2 logo debugbar](https://github.com/nodefony/nodefony/commit/7684a98ef935d87047bb06f94e4b2f8f6b391660)
|
|
62
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/fc0d9f92026f22c5f8d98ab110851662dc67fbe6)
|
|
63
|
+
- [debug lang session](https://github.com/nodefony/nodefony/commit/285a324461ded4733a3b59adc2e82fdbcce43725)
|
|
64
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/8e6963217e4f0c0d50666ef30473746f29a5fc1e)
|
|
65
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/3251a56a5b4c2ee7ef38e641ed0999070b7d6b47)
|
|
66
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/5c9da1b5879548ea4ba34a5bc90787a55ec7589d)
|
|
67
|
+
- [add mjs on regexp](https://github.com/nodefony/nodefony/commit/99712b5dcb5c9255c551ff38e3ff8b26c16f82f7)
|
|
68
|
+
- [upgrade demo](https://github.com/nodefony/nodefony/commit/0f11e1e324ca41303608ee6eda0859165c3be11a)
|
|
69
|
+
- [add workbox in app](https://github.com/nodefony/nodefony/commit/c68c97440231080c248a2021dfe7993f7ac8aceb)
|
|
70
|
+
- [upgrade formidable parser | optimize buffer upload](https://github.com/nodefony/nodefony/commit/1fb70553a86a3c319ebcdade6b0d0c17f51106c8)
|
|
71
|
+
- [clean builder skeleton](https://github.com/nodefony/nodefony/commit/78d9b8d5f963eafe13a28501642d225e43ff2387)
|
|
72
|
+
- [add sequelize on nodefony namespace](https://github.com/nodefony/nodefony/commit/41cc2b1d59f5009991271bd393752c3984ff67c5)
|
|
73
|
+
- [upgrade microservice builder](https://github.com/nodefony/nodefony/commit/57845d97b20c73dbd1f2169462c995bfbceba7bc)
|
|
74
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/57380357366351bec9be640e95a25cec132ea06a)
|
|
75
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/10538400a58cedc2e0f34f75a06acb4276b93cab)
|
|
76
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/5642fa432efdefcd37a5713cee83723606ea123d)
|
|
77
|
+
- [change log](https://github.com/nodefony/nodefony/commit/cc1910217ac1cab3cb01c865be5389296bb8f082)
|
|
78
|
+
- [nodefony changelog 6.9.1](https://github.com/nodefony/nodefony/commit/dd1c1ca4c4c80f7911cfd678baa7bb9080d2566a)
|
|
79
|
+
- [nodefony release 6.9.1](https://github.com/nodefony/nodefony/commit/adb2e14cece654915cada7497decf2787133f2d3)
|
|
80
|
+
- [debug config framework syntax error](https://github.com/nodefony/nodefony/commit/eec48e8ba26822f0698e714e9a6f15306d45da47)
|
|
81
|
+
- [debug syntax error in config](https://github.com/nodefony/nodefony/commit/03141366608bf88ef7e0b8b4876f6d68713b2cc6)
|
|
82
|
+
- [nodefony changelog 6.9.0](https://github.com/nodefony/nodefony/commit/007a229cd01e373ee673515327d624555c739698)
|
|
83
|
+
- [nodefony release 6.9.0](https://github.com/nodefony/nodefony/commit/3c3428785afa88b875fb89a1f5a00558ed0a2525)
|
|
84
|
+
- [update deps](https://github.com/nodefony/nodefony/commit/1926f847d162f9627c12d28d390e555e4c4a4663)
|
|
85
|
+
- [mv mongo-bundle](https://github.com/nodefony/nodefony/commit/996ec8089aeb36589335de6e90437f21d1843120)
|
|
86
|
+
- [upgrade demo](https://github.com/nodefony/nodefony/commit/717c97d22208dd0b36d02530fb896d0ce9d2e19b)
|
|
87
|
+
- [add ia-bundle | tensorflow experimental test on nodefony framework](https://github.com/nodefony/nodefony/commit/3c308eaefb606a7fe58951d97c51d2bc1a547d05)
|
|
88
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/7bb596889222b8375b91122957cc824ac3b95fa7)
|
|
89
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/6997b1e183a3d95a6e3314e2c694956f58784f05)
|
|
90
|
+
- [debug bug npm 8](https://github.com/nodefony/nodefony/commit/659008f666fd0e1cadf6b07479a2afd428809c9c)
|
|
91
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/0d1f14b7dfd1e9ca171a997bfae6caa57b3d6366)
|
|
92
|
+
- [better log](https://github.com/nodefony/nodefony/commit/bd7517d891c62726e25abcc76770dc798445133b)
|
|
93
|
+
- [update app config](https://github.com/nodefony/nodefony/commit/85ee5ae4afa1fd5fdfae84eff38368c15af77c39)
|
|
94
|
+
- [clean crypto session](https://github.com/nodefony/nodefony/commit/8469f6a942caa143e2a4c14c15b018ddd6334c8f)
|
|
95
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/182dbd010785415dc7211fc7a68809ef3bc0835f)
|
|
96
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/4d8454ebc09a714affa65d64a6edf0e30eba455c)
|
|
97
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/5416d8a9a113c697aaf6585a4bbce6982ae32a5d)
|
|
98
|
+
- [debug options webpack-dev-server](https://github.com/nodefony/nodefony/commit/5a245eb2fe44db768a566bc5961d30574ccc84fc)
|
|
99
|
+
- [clean webpack config for minimize in production](https://github.com/nodefony/nodefony/commit/cb9c6141b2034a8a7c2dcb43857e703f474dcf8e)
|
|
100
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/b61ceae12ac6ada6b2ad64b6d828ff917c74e90d)
|
|
101
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/801a929150f6f54e429f101afcecec377ecedc25)
|
|
102
|
+
|
|
103
|
+
---
|
|
104
|
+
|
|
105
|
+
## v6.9.1 (13/10/2021)
|
|
106
|
+
- [nodefony changelog 6.9.1](https://github.com/nodefony/nodefony/commit/dd1c1ca4c4c80f7911cfd678baa7bb9080d2566a)
|
|
107
|
+
- [nodefony release 6.9.1](https://github.com/nodefony/nodefony/commit/adb2e14cece654915cada7497decf2787133f2d3)
|
|
108
|
+
- [debug config framework syntax error](https://github.com/nodefony/nodefony/commit/eec48e8ba26822f0698e714e9a6f15306d45da47)
|
|
109
|
+
- [debug syntax error in config](https://github.com/nodefony/nodefony/commit/03141366608bf88ef7e0b8b4876f6d68713b2cc6)
|
|
110
|
+
- [nodefony changelog 6.9.0](https://github.com/nodefony/nodefony/commit/007a229cd01e373ee673515327d624555c739698)
|
|
111
|
+
- [nodefony release 6.9.0](https://github.com/nodefony/nodefony/commit/3c3428785afa88b875fb89a1f5a00558ed0a2525)
|
|
112
|
+
- [update deps](https://github.com/nodefony/nodefony/commit/1926f847d162f9627c12d28d390e555e4c4a4663)
|
|
113
|
+
- [mv mongo-bundle](https://github.com/nodefony/nodefony/commit/996ec8089aeb36589335de6e90437f21d1843120)
|
|
114
|
+
- [upgrade demo](https://github.com/nodefony/nodefony/commit/717c97d22208dd0b36d02530fb896d0ce9d2e19b)
|
|
115
|
+
- [add ia-bundle | tensorflow experimental test on nodefony framework](https://github.com/nodefony/nodefony/commit/3c308eaefb606a7fe58951d97c51d2bc1a547d05)
|
|
116
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/7bb596889222b8375b91122957cc824ac3b95fa7)
|
|
117
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/6997b1e183a3d95a6e3314e2c694956f58784f05)
|
|
118
|
+
- [debug bug npm 8](https://github.com/nodefony/nodefony/commit/659008f666fd0e1cadf6b07479a2afd428809c9c)
|
|
119
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/0d1f14b7dfd1e9ca171a997bfae6caa57b3d6366)
|
|
120
|
+
- [better log](https://github.com/nodefony/nodefony/commit/bd7517d891c62726e25abcc76770dc798445133b)
|
|
121
|
+
- [update app config](https://github.com/nodefony/nodefony/commit/85ee5ae4afa1fd5fdfae84eff38368c15af77c39)
|
|
122
|
+
- [clean crypto session](https://github.com/nodefony/nodefony/commit/8469f6a942caa143e2a4c14c15b018ddd6334c8f)
|
|
123
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/182dbd010785415dc7211fc7a68809ef3bc0835f)
|
|
124
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/4d8454ebc09a714affa65d64a6edf0e30eba455c)
|
|
125
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/5416d8a9a113c697aaf6585a4bbce6982ae32a5d)
|
|
126
|
+
- [debug options webpack-dev-server](https://github.com/nodefony/nodefony/commit/5a245eb2fe44db768a566bc5961d30574ccc84fc)
|
|
127
|
+
- [clean webpack config for minimize in production](https://github.com/nodefony/nodefony/commit/cb9c6141b2034a8a7c2dcb43857e703f474dcf8e)
|
|
128
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/b61ceae12ac6ada6b2ad64b6d828ff917c74e90d)
|
|
129
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/801a929150f6f54e429f101afcecec377ecedc25)
|
|
130
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/e8713bd9b40f4e463fa3fa8dafe40d3e1f1dbebf)
|
|
131
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/b0cac5db65b363810ee393adafd4bcba2e3e6434)
|
|
132
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/fc927eb09a8e2efe6b3bd4648463cd0191964a5f)
|
|
133
|
+
- [upgrade deps](https://github.com/nodefony/nodefony/commit/e267e17eb073c95123c2256caf688b52a3590f7a)
|
|
134
|
+
|
|
135
|
+
---
|
|
136
|
+
|
|
3
137
|
## v6.9.1 (01/01/1970)
|
|
4
138
|
- [nodefony release 6.9.1](https://github.com/nodefony/nodefony/commit/adb2e14cece654915cada7497decf2787133f2d3)
|
|
5
139
|
- [debug config framework syntax error](https://github.com/nodefony/nodefony/commit/eec48e8ba26822f0698e714e9a6f15306d45da47)
|
package/README.md
CHANGED
|
@@ -11,9 +11,6 @@ Nodefony is Node.js full-stack web framework.
|
|
|
11
11
|
|
|
12
12
|
Nodefony can be used to develop a complete solution to create a Fullstack Web Application, Secure Api, or Microservices.
|
|
13
13
|
|
|
14
|
-
The Nodefony project is inspired by the PHP Symfony framework, a developer can find most of the concepts, configurations and patterns of Symfony framework.
|
|
15
|
-
|
|
16
|
-
Nodefony is not an exhaustive port of symfony !
|
|
17
14
|
|
|
18
15
|
## Table of content
|
|
19
16
|
|
|
@@ -137,9 +134,9 @@ You can follow Nodefony build with github actions at **<https://github.com/nodef
|
|
|
137
134
|
|
|
138
135
|
To install or update nvm, you can use the install script:
|
|
139
136
|
```sh
|
|
140
|
-
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.
|
|
137
|
+
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
|
141
138
|
# or
|
|
142
|
-
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.
|
|
139
|
+
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.0/install.sh | bash
|
|
143
140
|
|
|
144
141
|
$ source ~/.bashrc # or source ~/.bash_profile
|
|
145
142
|
$ nvm ls-remote # show all remote versions
|
package/autoloader.es6
CHANGED
|
@@ -44,7 +44,7 @@ module.exports = function () {
|
|
|
44
44
|
* @module NODEFONY
|
|
45
45
|
*
|
|
46
46
|
*/
|
|
47
|
-
const regJs = /.*\.js$|.*\.es6$|.*\.es7$/;
|
|
47
|
+
const regJs = /.*\.js$|.*\.es6$|.*\.es7$|.*\.(mjs)$/;
|
|
48
48
|
|
|
49
49
|
class Autoload {
|
|
50
50
|
|
|
@@ -174,7 +174,7 @@ module.exports = function () {
|
|
|
174
174
|
}
|
|
175
175
|
console.error(e);
|
|
176
176
|
if(this.kernel){
|
|
177
|
-
this.kernel.terminate(1);
|
|
177
|
+
this.kernel.terminate(1);
|
|
178
178
|
}
|
|
179
179
|
throw e;
|
|
180
180
|
}
|
|
@@ -234,7 +234,8 @@ module.exports = function () {
|
|
|
234
234
|
}
|
|
235
235
|
|
|
236
236
|
autoloadEach(ele) {
|
|
237
|
-
|
|
237
|
+
let res = regJs.exec(ele.path)
|
|
238
|
+
if (res) {
|
|
238
239
|
this.load.call(this, ele.path);
|
|
239
240
|
this.log(ele.path, "DEBUG");
|
|
240
241
|
}
|
|
@@ -37,6 +37,7 @@ module.exports = merge(config, {
|
|
|
37
37
|
path: public,
|
|
38
38
|
publicPath: publicPath,
|
|
39
39
|
filename: "./js/[name].js",
|
|
40
|
+
hashFunction: "xxhash64",
|
|
40
41
|
library: "[name]",
|
|
41
42
|
libraryExport: "default"
|
|
42
43
|
},
|
|
@@ -125,6 +126,9 @@ module.exports = merge(config, {
|
|
|
125
126
|
filename: "./css/[name].css"
|
|
126
127
|
}),
|
|
127
128
|
new webpack.DefinePlugin({
|
|
129
|
+
'process':{
|
|
130
|
+
platform:`'${process.platform}'`
|
|
131
|
+
},
|
|
128
132
|
'process.env': {
|
|
129
133
|
'NODE_ENV': JSON.stringify(process.env.NODE_ENV),
|
|
130
134
|
"NODE_DEBUG": JSON.stringify(debug),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import React from 'react';
|
|
2
2
|
import { render } from "react-dom";
|
|
3
3
|
import GraphiQL from "graphiql";
|
|
4
|
+
//import { createGraphiQLFetcher } from '@graphiql/toolkit';
|
|
4
5
|
import "graphiql/graphiql.min.css";
|
|
5
6
|
import "./index.css";
|
|
6
7
|
const NODE_ENV = process.env.NODE_ENV ;
|
|
@@ -9,7 +10,7 @@ const config = process.env.GRAPHIQL ;
|
|
|
9
10
|
|
|
10
11
|
const URL = config.url;
|
|
11
12
|
|
|
12
|
-
function
|
|
13
|
+
function fetcher(graphQLParams) {
|
|
13
14
|
return fetch(URL, {
|
|
14
15
|
method: 'post',
|
|
15
16
|
headers: {
|
|
@@ -19,12 +20,47 @@ function graphQLFetcher(graphQLParams) {
|
|
|
19
20
|
body: JSON.stringify(graphQLParams),
|
|
20
21
|
credentials: 'same-origin',
|
|
21
22
|
}).then(response => response.json().then((ele)=>{
|
|
22
|
-
|
|
23
|
+
if(ele.error){
|
|
24
|
+
return ele.error;
|
|
25
|
+
}
|
|
23
26
|
return ele.data;
|
|
27
|
+
}).catch(e =>{
|
|
28
|
+
throw e;
|
|
24
29
|
}));
|
|
25
30
|
}
|
|
26
31
|
|
|
27
32
|
const defaultQuery = `
|
|
33
|
+
# Welcome to GraphiQL
|
|
34
|
+
#
|
|
35
|
+
# GraphiQL is an in-browser tool for writing, validating, and
|
|
36
|
+
# testing GraphQL queries.
|
|
37
|
+
#
|
|
38
|
+
# Type queries into this side of the screen, and you will see intelligent
|
|
39
|
+
# typeaheads aware of the current GraphQL type schema and live syntax and
|
|
40
|
+
# validation errors highlighted within the text.
|
|
41
|
+
#
|
|
42
|
+
# GraphQL queries typically start with a "{" character. Lines that start
|
|
43
|
+
# with a # are ignored.
|
|
44
|
+
#
|
|
45
|
+
# An example GraphQL query might look like:
|
|
46
|
+
#
|
|
47
|
+
# {
|
|
48
|
+
# field(arg: "value") {
|
|
49
|
+
# subField
|
|
50
|
+
# }
|
|
51
|
+
# }
|
|
52
|
+
#
|
|
53
|
+
# Keyboard shortcuts:
|
|
54
|
+
#
|
|
55
|
+
# Prettify Query: Shift-Ctrl-P (or press the prettify button above)
|
|
56
|
+
#
|
|
57
|
+
# Merge Query: Shift-Ctrl-M (or press the merge button above)
|
|
58
|
+
#
|
|
59
|
+
# Run Query: Ctrl-Enter (or press the play button above)
|
|
60
|
+
#
|
|
61
|
+
# Auto Complete: Ctrl-Space (or just start typing)
|
|
62
|
+
#
|
|
63
|
+
|
|
28
64
|
{
|
|
29
65
|
user(username: "admin") {
|
|
30
66
|
username
|
|
@@ -55,6 +91,6 @@ const Logo = () => {
|
|
|
55
91
|
GraphiQL.Logo = Logo;
|
|
56
92
|
|
|
57
93
|
render(
|
|
58
|
-
<GraphiQL fetcher={
|
|
94
|
+
<GraphiQL fetcher={fetcher} defaultQuery={defaultQuery} />,
|
|
59
95
|
container
|
|
60
96
|
);
|
|
@@ -1,16 +1,7 @@
|
|
|
1
1
|
@import url(https://fonts.googleapis.com/css?family=Comfortaa);
|
|
2
2
|
@import url(https://fonts.googleapis.com/css?family=Gochi+Hand);
|
|
3
3
|
|
|
4
|
-
|
|
5
|
-
text-align: center;
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
.hello h1 {
|
|
9
|
-
font-family: 'Gochi Hand', cursive;
|
|
10
|
-
color: #0167b8;
|
|
11
|
-
letter-spacing: 0;
|
|
12
|
-
font-size: 4em;
|
|
13
|
-
text-transform: none;
|
|
4
|
+
body{
|
|
14
5
|
}
|
|
15
6
|
|
|
16
7
|
.nodefony{
|
|
@@ -25,6 +16,14 @@
|
|
|
25
16
|
font-size: 4em;
|
|
26
17
|
text-transform: none;
|
|
27
18
|
}
|
|
19
|
+
.nodefony h3 {
|
|
20
|
+
text-align: center;
|
|
21
|
+
font-family: 'Gochi Hand', cursive;
|
|
22
|
+
color: #0167b8;
|
|
23
|
+
letter-spacing: 0;
|
|
24
|
+
font-size: 1.2em;
|
|
25
|
+
text-transform: none;
|
|
26
|
+
}
|
|
28
27
|
|
|
29
28
|
pre {
|
|
30
29
|
display: block;
|
|
@@ -36,14 +36,15 @@ class Swagger {
|
|
|
36
36
|
urls: this.config.urls,
|
|
37
37
|
"urls.primaryName": this.config.primaryName,
|
|
38
38
|
dom_id: '#swagger',
|
|
39
|
-
|
|
39
|
+
validatorUrl:"none",
|
|
40
|
+
defaultModelsExpandDepth: -1,
|
|
40
41
|
deepLinking: true,
|
|
41
42
|
presets: [
|
|
42
43
|
SwaggerUI.presets.apis,
|
|
43
44
|
SwaggerUIStandalonePreset
|
|
44
45
|
],
|
|
45
46
|
plugins: [
|
|
46
|
-
SwaggerUIBundle.plugins.DownloadUrl
|
|
47
|
+
//SwaggerUIBundle.plugins.DownloadUrl
|
|
47
48
|
],
|
|
48
49
|
layout: "StandaloneLayout",
|
|
49
50
|
requestInterceptor: function (request) {
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
security : Securité
|
|
4
4
|
login : Se Connecter
|
|
5
|
+
signin : Se Connecter
|
|
5
6
|
logout : Se Déconnecter
|
|
6
7
|
submit : Valider
|
|
7
8
|
surname : Nom
|
|
@@ -9,4 +10,5 @@ name : Prénom
|
|
|
9
10
|
username : Utilisateur
|
|
10
11
|
|
|
11
12
|
register : "S'enregistrer"
|
|
13
|
+
signup : "S'enregistrer"
|
|
12
14
|
update : Modifer
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<link rel="icon" type="image/x-icon" href="/app/favicon.ico"/>
|
|
13
13
|
{% endblock %}
|
|
14
14
|
{% block description %}
|
|
15
|
-
<meta name="description" content="Node.js full-stack web framework
|
|
15
|
+
<meta name="description" content="Node.js full-stack web framework">
|
|
16
16
|
{% endblock %}
|
|
17
17
|
<title>
|
|
18
18
|
{% block title %}{{nodefony.name|escape}}{% endblock %}
|
|
@@ -28,7 +28,6 @@
|
|
|
28
28
|
{% endblock %}
|
|
29
29
|
{% block body %}{% endblock %}
|
|
30
30
|
{% block footer %}
|
|
31
|
-
{{ render( controller("documentation:documentation:footer" )) }}
|
|
32
31
|
{% endblock %}
|
|
33
32
|
{% block javascripts %}
|
|
34
33
|
<!-- WEBPACK BUNDLE -->
|
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
<!-- Footer -->
|
|
2
|
-
<footer class="
|
|
3
|
-
|
|
4
|
-
<div class="text-center py-3">
|
|
2
|
+
<footer class="footer mt-auto py-3 bg-light fixed-bottom">
|
|
3
|
+
<div class="container">
|
|
5
4
|
<a href="https://github.com/nodefony">{{year|escape}} powered by: nodefony@{{nodefony.version}}</a>
|
|
6
5
|
</div>
|
|
7
|
-
<!-- Copyright -->
|
|
8
6
|
</footer>
|
|
9
7
|
<!-- Footer -->
|
|
@@ -1,12 +1,11 @@
|
|
|
1
|
-
{% extends '../base.html.twig' %}
|
|
2
|
-
|
|
1
|
+
{% extends '../documentation/base.html.twig' %}
|
|
3
2
|
|
|
4
3
|
{% block title %}{{title|escape}}{% endblock %}
|
|
5
4
|
|
|
6
5
|
{% block stylesheets %}
|
|
7
6
|
<!-- WEBPACK BUNDLE -->
|
|
8
|
-
<link rel="stylesheet" href="/documentation-bundle/assets/css/documentation.css"/>
|
|
9
7
|
<link rel='stylesheet' href='{{CDN("stylesheet")}}/users-bundle/assets/css/graphiql.css'/>
|
|
8
|
+
{{ parent() }}
|
|
10
9
|
<style>
|
|
11
10
|
body {
|
|
12
11
|
padding: 0;
|
|
@@ -21,14 +20,10 @@
|
|
|
21
20
|
|
|
22
21
|
{% block body %}
|
|
23
22
|
|
|
24
|
-
{% block header %}
|
|
25
|
-
{{ render( controller("users:users:header" )) }}
|
|
26
|
-
{% endblock %}
|
|
27
|
-
|
|
28
23
|
<div class="container-fluid">
|
|
29
24
|
<div class="row flex-xl-nowrap">
|
|
30
25
|
{% include '../documentation/navbar.html.twig' %}
|
|
31
|
-
<main class="col-12 col-md-9 col-xl-
|
|
26
|
+
<main class="col-12 col-md-9 col-xl-10" style="top: 2px;">
|
|
32
27
|
<div id="graphiql"></div>
|
|
33
28
|
</main>
|
|
34
29
|
</div>
|
|
@@ -40,6 +35,6 @@
|
|
|
40
35
|
|
|
41
36
|
<!-- WEBPACK BUNDLE -->
|
|
42
37
|
<script src='{{CDN("javascript")}}/users-bundle/assets/js/graphiql.js'></script>
|
|
43
|
-
|
|
38
|
+
{{ parent() }}
|
|
44
39
|
|
|
45
40
|
{% endblock %}
|
|
@@ -1,29 +1,22 @@
|
|
|
1
1
|
{% set user = getUser() %}
|
|
2
2
|
|
|
3
|
-
<
|
|
4
|
-
<
|
|
5
|
-
<
|
|
6
|
-
<span class="navbar-toggler-icon"></span>
|
|
7
|
-
</button>
|
|
8
|
-
<a class="navbar-brand mr-5" href="/">
|
|
3
|
+
<div class="container-fluid">
|
|
4
|
+
<header class="d-flex flex-wrap align-items-center justify-content-center justify-content-md-between py-3 mb-4 border-bottom">
|
|
5
|
+
<a href="/" class="d-flex align-items-center col-md-3 mb-2 mb-md-0 text-dark text-decoration-none">
|
|
9
6
|
<img src="/app/images/app-logo.png" width="30" height="30" class="d-inline-block align-top" alt="">
|
|
10
|
-
<span class="
|
|
7
|
+
<span style="color:#0167b8" class="fs-4 nodefony"><h3>{{nodefony.name|escape}}</h3></span>
|
|
11
8
|
</a>
|
|
12
|
-
<div class="collapse navbar-collapse" id="header_nodefony">
|
|
13
|
-
<ul class="navbar-nav me-auto ">
|
|
14
|
-
{% if urlDoc %}
|
|
15
|
-
<li class="nav-item">
|
|
16
|
-
<form class="form-inline" action="{{urlDoc}}">
|
|
17
|
-
<button class="btn btn-sm btn-outline-secondary" type="submit">Documentation</button>
|
|
18
|
-
</form>
|
|
19
|
-
</li>
|
|
20
|
-
{% endif %}
|
|
21
|
-
</ul>
|
|
22
9
|
|
|
23
|
-
|
|
10
|
+
<ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
|
|
11
|
+
{% if urlDoc %}
|
|
12
|
+
<li><a href="{{urlDoc}}" class="btn btn-outline-secondary px-2">Documentation</a></li>
|
|
13
|
+
{% endif %}
|
|
14
|
+
</ul>
|
|
15
|
+
|
|
16
|
+
<form action="{{url('lang')}}" name="formLang" id="formLang" class="col-12 col-lg-auto mb-3 mb-lg-0 me-lg-3">
|
|
17
|
+
<ul class="nav col-12 col-lg-auto me-lg-auto mb-2 justify-content-center mb-md-0">
|
|
24
18
|
<li class="nav-item">
|
|
25
|
-
|
|
26
|
-
<div class="input-group input-group-sm" style="top:5px;margin-right:5px">
|
|
19
|
+
<div class="input-group input-group-sm">
|
|
27
20
|
<label class="input-group-text">{{"lang"| trans("messages") }} : </label>
|
|
28
21
|
<select class="form-select form-select-sm " name="language" id="language">
|
|
29
22
|
{% for opt in langs %}
|
|
@@ -38,56 +31,60 @@
|
|
|
38
31
|
{% endfor %}
|
|
39
32
|
</select>
|
|
40
33
|
</div>
|
|
41
|
-
</form>
|
|
42
34
|
</li>
|
|
43
|
-
|
|
44
|
-
|
|
35
|
+
</ul>
|
|
36
|
+
</form>
|
|
37
|
+
|
|
38
|
+
{% if user %}
|
|
39
|
+
<div class="dropdown text-end">
|
|
40
|
+
<a href="#" class="d-block link-dark text-decoration-none dropdown-toggle" id="dropdownUser1" data-bs-toggle="dropdown" aria-expanded="false">
|
|
45
41
|
{% if user.image %}
|
|
46
|
-
<img
|
|
42
|
+
<img src="https://github.com/mdo.png" alt="mdo" width="32" height="32" class="rounded-circle">
|
|
43
|
+
{% else %}
|
|
44
|
+
<i class="text-large fa fa-user"></i>
|
|
47
45
|
{% endif %}
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
<
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
<
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
{% else %}
|
|
65
|
-
<img width="100px" height="100px" src="/framework-bundle/images/nodefony-logo.png" alt="nodefony-logo"></img>
|
|
66
|
-
{% endif %}
|
|
67
|
-
<div class="user-info">
|
|
68
|
-
<p>{{"username"|trans("login")}} : {{ user.username|escape }}</p>
|
|
69
|
-
<p>{{"surname"|trans("login")}} : <i> {{ user.surname|escape }} </i> </p>
|
|
70
|
-
<p>{{"name"|trans("login")}} : <i> {{ user.name|escape }} </i> </p>
|
|
71
|
-
</div>
|
|
72
|
-
</div>
|
|
73
|
-
<div class="card-footer text-muted">
|
|
74
|
-
<a href ="{{url("logout")}}" class="card-link">{{"logout"|trans("login")}}</a>
|
|
75
|
-
<a href ="{{url("nodefony-user-update",{username:user.username})}}" class="card-link">{{"update"|trans("login")}}</a>
|
|
76
|
-
</div>
|
|
46
|
+
</a>
|
|
47
|
+
<ul class="dropdown-menu text-small border-0" aria-labelledby="dropdownUser1">
|
|
48
|
+
<div class="card " style="width: 18rem;height:100%">
|
|
49
|
+
<div class="card-header">
|
|
50
|
+
<h5 class="card-title">Profile</h5>
|
|
51
|
+
</div>
|
|
52
|
+
<div class="card-body text-center" >
|
|
53
|
+
{% if user.image %}
|
|
54
|
+
<img width="100px" height="100px"src="{{ user.image|escape }}" alt=""></img>
|
|
55
|
+
{% else %}
|
|
56
|
+
<img width="100px" height="100px" src="/framework-bundle/images/nodefony-logo.png" alt="nodefony-logo"></img>
|
|
57
|
+
{% endif %}
|
|
58
|
+
<div class="user-info">
|
|
59
|
+
<p>{{"username"|trans("login")}} : {{ user.username|escape }}</p>
|
|
60
|
+
<p>{{"surname"|trans("login")}} : <i> {{ user.surname|escape }} </i> </p>
|
|
61
|
+
<p>{{"name"|trans("login")}} : <i> {{ user.name|escape }} </i> </p>
|
|
77
62
|
</div>
|
|
78
63
|
</div>
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
class="btn btn-sm btn-outline-secondary"
|
|
85
|
-
role="button"
|
|
86
|
-
aria-pressed="false">
|
|
87
|
-
{{"login"|trans("login")}}
|
|
88
|
-
</a>
|
|
89
|
-
{% endif %}
|
|
64
|
+
<div class="card-footer text-muted">
|
|
65
|
+
<a href ="{{url("logout")}}" class="card-link">{{"logout"|trans("login")}}</a>
|
|
66
|
+
<a href ="{{url("nodefony-user-update",{username:user.username})}}" class="card-link">{{"update"|trans("login")}}</a>
|
|
67
|
+
</div>
|
|
68
|
+
</div>
|
|
90
69
|
</ul>
|
|
91
70
|
</div>
|
|
92
|
-
|
|
93
|
-
|
|
71
|
+
{% else %}
|
|
72
|
+
|
|
73
|
+
<div class=" text-end">
|
|
74
|
+
<a href="{{url("login",{type:"secure"})}}"
|
|
75
|
+
class="btn btn-sm btn-outline-secondary"
|
|
76
|
+
role="button"
|
|
77
|
+
aria-pressed="false">
|
|
78
|
+
{{trans("signin")}}
|
|
79
|
+
</a>
|
|
80
|
+
<a href="{{url("nodefony-user-create")}}"
|
|
81
|
+
class="btn btn-sm btn-outline-primary"
|
|
82
|
+
role="button"
|
|
83
|
+
aria-pressed="false">
|
|
84
|
+
{{trans("signup")}}
|
|
85
|
+
</a>
|
|
86
|
+
|
|
87
|
+
</div>
|
|
88
|
+
{% endif %}
|
|
89
|
+
</header>
|
|
90
|
+
</div>
|