1
0
mirror of https://github.com/barthuijgen/factorio-sites.git synced 2024-12-04 10:44:44 +02:00
Commit Graph

133 Commits

Author SHA1 Message Date
Alexander Horbunov
b5347faa70
Merge branch 'master' into develop (#106)
* Added pagination lib

* Added 0-1 pages check

Co-authored-by: = <=>
2021-04-11 10:20:42 +02:00
NotRexButCaesar
7d3fa8b313
Change white to transparency in favicon (#97)
* Delete favicon.png

* Add files via upload

* Add files via upload

Co-authored-by: Bart <45095973+barthuijgen@users.noreply.github.com>
2021-04-09 11:28:34 +02:00
Bart
3b9a4f3248 fix: homepage sidebar width and linting issues 2021-04-08 14:15:53 +02:00
Alexander Horbunov
9079d600ab
Added select styles (#96)
Co-authored-by: = <=>
Co-authored-by: Bart <45095973+barthuijgen@users.noreply.github.com>
2021-04-08 14:04:00 +02:00
Bart
1bc2f760bc fix: build time error when missing env variables 2021-04-07 21:04:53 +02:00
Bart
7b3c480506 Add cloudflare web analytics 2021-04-02 14:35:35 +02:00
Alexander Horbunov
c100e3a20a
Added markdown editor (#94) 2021-04-02 00:04:39 +02:00
Bart
5223c4825b feat: enable deployment to prd from github action, fix unit tests 2021-04-01 14:44:22 +02:00
Bart
92ecea6827 feat: create build action for production, add configurable public url 2021-04-01 14:09:58 +02:00
Bart
178c962c28 feat: Make search options based on actual data 2021-03-31 13:48:50 +02:00
Bart
a1e36e4099 Added edit button to blueprint book and a link button on my blueprints page 2021-03-30 23:55:55 +02:00
Bart
92d9ffaaf5 chore: upgrade packages, added next eslint rules 2021-03-30 23:41:54 +02:00
Bart
935fed3da3 chore: nx migrate latest 2021-03-30 23:21:54 +02:00
Bart
d14e3d0920 Refactor blueprint edit page, performance and validation improvements 2021-03-30 23:12:23 +02:00
Bart
0dde51a1fb chore: Linting fixes 2021-03-29 00:11:42 +02:00
Alexander Horbunov
b2a3264049
Added ability to add and remove user favorites on the main page (#77)
* Added ability to add and remove user favorites on the main page

* Style fixes

* Fix pagination and list reload
2021-03-29 00:09:48 +02:00
Bart
6166e81c19 Added factorio wasm module, show game version on blueprint page 2021-03-28 01:07:53 +01:00
Alexander Horbunov
48600e56ff
Added another component for blueprint tiles (#71)
* Added another component for blueprint tiles

* Fixed type error

* Fix select overflow

* Removed delere button from the link component

* Fixed prisma error - remove from favorites first

* Fixed style inconsistency in favorites page

* delete query and styling fixes

* Remove unused props on blueprint link

Co-authored-by: Bart <barthuijgen@users.noreply.github.com>
Co-authored-by: Bart <45095973+barthuijgen@users.noreply.github.com>
2021-03-24 14:45:26 +01:00
Bart
bffd609b7d Prevent accessing edit page of unowned page 2021-03-24 00:47:34 +01:00
Bart
72c719e561
Revert "Added blueprint deleting button and api (#66)" (#72)
This reverts commit a06c753312.
2021-03-23 18:46:06 +01:00
Alexander Horbunov
a06c753312
Added blueprint deleting button and api (#66)
* Added blueprint deleting button and api

* Added check user_id matches session.user_id
2021-03-23 16:42:48 +01:00
Bart
aa22ebbece More package upgrades 2021-03-22 22:25:28 +01:00
Bart
2264127bff Fix linting 2021-03-22 22:13:26 +01:00
Bart
7e31990201 Fix unit tests 2021-03-22 21:58:23 +01:00
Alexander Horbunov
8da43e3a19
Added tooltip component (#65) 2021-03-22 17:58:56 +01:00
Bart
4d1f8730ac Add missing href replace on book links 2021-03-22 08:05:46 +01:00
Bart
0b9702efc5 Add selected blueprint description 2021-03-22 08:04:27 +01:00
Bart
9da0318a67 Replace instead of push on blueprint navigation 2021-03-22 07:48:01 +01:00
Bart
9da8a1bf6e Fix: my favorites link, date format, editing protection 2021-03-22 07:38:49 +01:00
Bart
d277adb856 Forked react-map-interaction to change zoom scale 2021-03-21 22:11:37 +01:00
Bart
c5e59f72f7 Updated about page with discord invite link 2021-03-21 21:25:33 +01:00
Bart
b6829c2657 Added my favorites page 2021-03-21 21:22:22 +01:00
Bart
bd2777bbe7 jest and test updates 2021-03-20 22:31:48 +01:00
Bart
1f6add4d2a Removed unused hook 2021-03-19 10:27:13 +01:00
Bart
c8abe91459 Integrate FBSR renderer, improve homepage responsiveness 2021-03-18 21:01:30 +01:00
Bart
a76c2035bd Fix navigator usage serverside 2021-03-18 14:10:54 +01:00
Bart
bcf796417e Added different renderer for mobile 2021-03-18 14:01:56 +01:00
Bart
6d1a979f29 Blueprint title fixes 2021-03-17 21:17:38 +01:00
Bart
e99a90b383 Blueprint title fixes and clickable tags 2021-03-17 20:38:29 +01:00
Bart
3ab956d122 Added FactorioCode component for blueprint titles 2021-03-17 16:23:28 +01:00
Bart
48d4c332bb Fix date formatting 2021-03-17 12:10:44 +01:00
Alexander Horbunov
f98ec515a6
Added new bp entities style (#49)
Co-authored-by: Bart <barthuijgen@users.noreply.github.com>
2021-03-17 11:29:26 +01:00
Bart
8dc22086f9
Blueprint page refactor (#51)
* blueprint page refactor

* Deduplicate code on blueprint page

Co-authored-by: Bart <barthuijgen@users.noreply.github.com>
2021-03-17 10:33:51 +01:00
Bart
11d53dfc75 Fix button font size, tags placeholder and deploy task order 2021-03-14 23:40:54 +01:00
Alexander Horbunov
a18c827fba
Blueprint page layout (#38)
* Added factorio style button

* Added panel inset panel, button css improvements

* Fix my blueprints list and edit button

* Blueprint page brainstorming #1

* Layout branstorm #2

* Changes to blueprints page, container width fix

Co-authored-by: Bart <45095973+barthuijgen@users.noreply.github.com>
2021-03-14 23:28:38 +01:00
Bart
c8ba09346a Testing dev deploy 2021-03-13 16:57:44 +01:00
Bart
8e126697b6 Update readmes, add fonts locally, fixes to search page props 2021-03-13 15:15:15 +01:00
Bart
bf62516501 Use nextjs generated package json instead of keeping self managed list 2021-03-13 01:27:31 +01:00
Bart
62d2bd963f Fix snap to grid element 2021-03-13 00:30:55 +01:00
Bart
94daa2c89f style cleanup 2021-03-13 00:09:15 +01:00
Alexander Horbunov
7278f23f48
[WIP] factorio-style-components (#34)
* Added factorio style button

* Added panel inset panel, button css improvements

* Fix my blueprints list and edit button

* Comments related fixes

* Fixing to guidelines and small style adjustments

Co-authored-by: Bart <45095973+barthuijgen@users.noreply.github.com>
2021-03-12 23:10:32 +01:00
Bart
5db0d221d3 Fix jest warnings and apply lint and test in github actions to all apps and libs 2021-03-12 00:36:31 +01:00
Bart
266babec20 Format tags and applied max width to main 2021-03-11 22:59:05 +01:00
Bart
7df5776fab Upgrade packages, added tags 2021-03-11 20:37:17 +01:00
Bart
765c5e60ca nx upgrade 2021-03-11 11:40:14 +01:00
Bart
5e61527117 Working on github workflows 2021-03-11 00:14:27 +01:00
Bart
bc7cb965e4 Fix linting and test errors 2021-03-10 23:49:49 +01:00
Bart
1ba766e9a4 Fix to steam login, code cleanup, moved copy button high on page 2021-03-10 22:53:54 +01:00
Alexander Horbunov
843b7e715f
Added user for blueprint_page and user filter query for main page (#4)
* Added user for blueprint_page and user filter query for main page

* Added sql error catch, comments related fixes

* Comments related fixes #2
2021-03-10 22:18:40 +01:00
Bart Huijgen
d2b35af0a8 Clean up api routes and page auth checks, remove base_url env variable 2021-03-09 23:48:16 +01:00
Bart Huijgen
2a79219f9c Make GCP setting configurable 2021-03-09 21:28:16 +01:00
Bart Huijgen
b8d5cfc507 perf optimisations and fbe update 2021-03-09 20:39:52 +01:00
Bart Huijgen
9b60cd5238 Fixes and improvements 2021-03-09 18:52:19 +01:00
Bart Huijgen
860ea4051b Added search on entities, recipes and items 2021-03-08 20:04:56 +01:00
Bart Huijgen
6cf29c5d51 Refactor types and blueprint book tree 2021-03-08 12:11:57 +01:00
Bart Huijgen
cbbf00ba4b fix pagination and long blueprint titles 2021-03-08 10:10:44 +01:00
Bart Huijgen
286b0e6e81 Refactor BookChildTree component and support icons in blueprint/book titles 2021-03-08 00:09:24 +01:00
Bart Huijgen
512b66300d blueprint managent updates and a lot more 2021-03-06 22:54:18 +01:00
Bart Huijgen
00358228dc Fix edit blueprint, db improvements, tag search 2021-03-05 16:34:22 +01:00
Bart Huijgen
7e77230fac Fix leftover errors from prisma migration 2021-03-05 00:32:00 +01:00
Bart Huijgen
a42927f336 update fbe-editor, migrate from sequelize to prisma 2021-03-04 23:07:34 +01:00
Bart Huijgen
fe51aa2376 add handler wrappers for getServerSideProps are api routes to clean up code reuse 2021-01-17 22:15:41 +01:00
Bart Huijgen
e3bc1c8f57 add favorites, removed blueprint-string, change blueprint and blueprint_book to 'immutable' 2021-01-17 20:52:18 +01:00
Bart Huijgen
b3f45c4191 add registration, login, steam-login, creating blueprints and database refactor 2021-01-16 12:28:25 +01:00
Bart Huijgen
2932fa6d02 Add FBE editor for in-browser image rendering, ported database to postgres, updated packages 2021-01-10 22:03:07 +01:00
Bart Huijgen
3f1bc9924a Upgrade packages, refactoring db access 2021-01-07 14:09:56 +01:00
Bart Huijgen
dc4fe41f38 Small fixes to scan logic 2020-10-25 23:53:21 +01:00
Bart Huijgen
d79b13de8a Moved some assets to self managed host 2020-10-25 23:52:47 +01:00
Bart Huijgen
c595054a3b Refactor image generation, new method of using pupeteer on the PBE app 2020-10-25 23:51:36 +01:00
Bart Huijgen
c49af943d8 Change bluepritns app to typescript strict mode 2020-10-22 16:02:35 +02:00
Bart Huijgen
1cdaeb7fec Added several ways of generating images, factorioprints scraper and a lot of updates to the main site 2020-10-22 15:53:06 +02:00
Bart Huijgen
e767407b65 Feat: Added blueprint image generator function and cleaned up blueprints app scaffolding 2020-10-17 15:55:18 +02:00
Bart Huijgen
1af55c6af0 initial commit 2020-10-16 19:37:34 +02:00