surtur
24a830b523
merge: feature-add-identity
...
commit 47c8a3e8e27fb8a71e702232c681d588fa152bc0
Author: surtur <a_mirre@utb.cz>
Date: Thu Jan 28 14:58:07 2021 +0100
chore: register and login on the right
commit 3e32cd61c2436123887d78f4ae396577b378e53c
Author: surtur <a_mirre@utb.cz>
Date: Thu Jan 28 14:43:07 2021 +0100
chore: add {Login,Register}ViewModel
commit f82f12a5328f1500c3a58dccb3728dc86d1cc92c
Author: surtur <a_mirre@utb.cz>
Date: Thu Jan 28 14:30:36 2021 +0100
chore: libs and pkgs version bump
commit 202b06505c94817c7bc60b432a9320efce80afac
Author: surtur <a_mirre@utb.cz>
Date: Thu Jan 28 14:29:40 2021 +0100
chore: local post-kaniko convenience chown
* [skip ci]
commit 7e4c4ccbbf4f7290d47c4c682f09ee508b34ae1e
Author: surtur <a_mirre@utb.cz>
Date: Thu Jan 28 14:29:15 2021 +0100
chore: add Manager on app start
commit 62e9d567c07794b821eb86e7dcff4ecbb6bbd47e
Author: surtur <a_mirre@utb.cz>
Date: Thu Jan 28 14:12:24 2021 +0100
chore: add Login page
* include FontAwesome (atm from CDN, will fetch it later and bundle it
here)
commit 3c899a2d024d8b74c7e28dfd4b86e1332d964129
Author: surtur <a_mirre@utb.cz>
Date: Thu Jan 28 13:33:32 2021 +0100
fix: use proper service provider
commit 88a6e0f45eae7d71cf352d01a693429246effd98
Author: surtur <a_mirre@utb.cz>
Date: Thu Jan 28 12:26:41 2021 +0100
chore: do creation async + s/FirstName/Name/
commit eaed0ec13c0dd3824802a698ac9ed30bffc52de9
Author: surtur <a_mirre@utb.cz>
Date: Thu Jan 28 10:55:23 2021 +0100
fix: err creating admin
* cause of silly passwd requirements - require {upper,lower}case and
non-alphanumeric characters is implicitly set to true
commit f55f8517f8f8516192b5d156c71596e7fcc55ad2
Author: surtur <a_mirre@utb.cz>
Date: Wed Jan 27 23:11:06 2021 +0100
feat: table renames+call role-creating methods
* no "AspNet" prefix
* actually call Ensure{Admin,Roles}Created on app start
commit 20d3458f281ec9478dc9b0fab3795556dcd0a78f
Author: surtur <a_mirre@utb.cz>
Date: Wed Jan 27 22:05:11 2021 +0100
fix typo: DbContext --> DBContext
commit f972ac83e7197813bf4c9b4d9bb44d640b5dd071
Author: surtur <a_mirre@utb.cz>
Date: Wed Jan 27 20:55:22 2021 +0100
chore: add login and usr mgmt logic
* add login and registration views
* add methods to create admin user on app start
commit b65a6d21f8dc5227a8da2d5040348e269c2f3711
Author: surtur <a_mirre@utb.cz>
Date: Wed Jan 27 16:02:33 2021 +0100
chore: add auth options
* FIXME dev fun settings need to be replaced with proper settings
commit 8f84939c22ec96e0a143350b9b9ba3d738dfc149
Author: surtur <a_mirre@utb.cz>
Date: Wed Jan 27 14:54:57 2021 +0100
chore: adding identity roles (batch 1)
* preparing Startup and DBContext to work with roles and auth
* added Roles enum
* added User model
* added Microsoft.AspNetCore.Identity.EntityFrameworkCore v3.1.10 nuget
* note: auth is not ready and working yet, this is batch one of the
preparations
2021-01-28 15:27:25 +01:00
surtur
0741deaff9
chore: change compose targets
...
* update Makefile and README
* [skip ci]
2021-01-23 14:25:24 +01:00
surtur
df9f0b36c4
merge: bring in feature-netcore-scaffolding-pain
...
continuous-integration/drone/push Build is passing
commit 34664fc9f3876605001b4c5294d3350a136f2997
Author: surtur <a_mirre@utb.cz>
Date: Thu Dec 31 01:18:05 2020 +0100
chore: edit the scaffolded views to use our layout
commit 6816006c09b5a3d79c489e3c27d7081b83e6195e
Author: surtur <a_mirre@utb.cz>
Date: Thu Dec 31 01:14:17 2020 +0100
chore: update Makefile "run" target+added targets
* pgdba - start a dev db container in background
* pgdbz - stop the dev db image
* docker run db img args are configured via variables as seen fit
* run is now more of a "watch run"
commit f1d87345ac2d7d9ce854a6c8bb37731ff0f8805c
Author: surtur <a_mirre@utb.cz>
Date: Thu Dec 31 01:12:41 2020 +0100
chore: add {OrderItem,Order} links to navbar
commit c214cf4fe6625ad312275432a8883a01e37f9cf0
Author: surtur <a_mirre@utb.cz>
Date: Wed Dec 30 13:37:34 2020 +0100
chore: add netcore-scaffolded controllers+views
* Templates folder of the vs.web.codegenerators pkg (v3.1.4) had to be
temporarily copied to the project directory for the scaffolding to
work; unnecessary template folders had to be removed prior to running
scaffold command
* restored pkgs and clean built, then scaffolded using (var set for
trace output of the command):
make restore clean build; codegen_trace=1 dotnet-aspnet-codegenerator controller -p "." -actions --force -name OrdersController -dc pwt_0x01_ng.Models.Database.DBContext -async -m pwt_0x01_ng.Models.Order -namespace pwt_0x01_ng.Areas.Admin.Controllers -outDir Areas/Admin/Controllers --no-build
make restore clean build; codegen_trace=1 dotnet-aspnet-codegenerator controller -p "." -actions --force -name OrderItemController -dc pwt_0x01_ng.Models.Database.DBContext -async -m pwt_0x01_ng.Models.OrderItem -namespace pwt_0x01_ng.Areas.Admin.Controllers -outDir Areas/Admin/Controllers --no-build
2020-12-31 02:01:45 +01:00
surtur
b0669f65c0
chore: target 3.1.* + connected simplification
...
continuous-integration/drone/pr Build is passing
* global.json sdk value will now match 3.1.whatever
* rm the now-redundant sed both from the ci pipeline and Dockerfile*
* limit ci pipeline runs to single build for an event. e.g. on a pr,
run a single build instead of both a pr build and a push build
* edit Makefile to force --no-cache builds
2020-12-26 17:26:11 +01:00
surtur
1489069c5c
chore: update Makefile - add dcdevrun target
...
continuous-integration/drone/pr Build is passing
* [skip ci]
2020-12-15 15:28:11 +01:00
surtur
b10dc1078b
chore: Makefile:add test target; update .drone.yml
...
* test target to test build all the goodies
* rm dotnet clean from the build pipeline to match what is being built
inside docker
* [skip ci]
2020-12-05 22:34:45 +01:00
surtur
de466c8422
fix: typo - pruneargs contained a dot (.)
...
[skip ci]
2020-12-02 03:43:34 +01:00
surtur
76235b7ef8
chore: add prune target and refactor kaniko stuff
...
[skip ci]
2020-12-02 03:39:58 +01:00
surtur
6b3601ee0b
refactor: clean up Makefile vars
continuous-integration/drone/push Build is passing
2020-12-02 03:31:56 +01:00
surtur
37e93a9d95
chore: specify .PHONY targets [skip ci]
2020-12-02 03:15:10 +01:00
surtur
8b60e35627
chore: print out the target commands
2020-12-02 03:13:19 +01:00
surtur
e64d137b2a
merge: bring in kaniko builds
...
commit 3a155798a9
Author: surtur <a_mirre@utb.cz>
Date: Wed Dec 2 03:08:12 2020 +0100
rm: get rid of unused launch settings
[skip ci]
commit 3f775a110b
Author: surtur <a_mirre@utb.cz>
Date: Sun Nov 29 21:08:11 2020 +0100
fix: clean build after restore
* this fixes occasional situation when NuGets have not been restored yet
but the clean build already running required them, which resulted a
failed build
commit 42c6dfd3ba
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 20:05:30 2020 +0100
chore: update make kaniko
* skip ci
commit 1cc3df6619
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 18:58:48 2020 +0100
chore: rm debug ls call
skip ci
commit befe7880fc
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 18:58:27 2020 +0100
revert: set kaniko context back to "."
skip ci
commit 15d7de1996
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 18:58:06 2020 +0100
chore: add make kaniko
* skip ci
commit 5ed341f4ae
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 17:13:27 2020 +0100
refactor: merge pipelines back
commit 732cd7d717
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 17:12:39 2020 +0100
chore: don't wait and build
commit 11a9ab07ab
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 17:11:08 2020 +0100
revert: kaniko don't give a **** about relpaths
commit a581457326
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 16:23:28 2020 +0100
debug: see where we are
commit 1ef9a6831f
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 15:58:50 2020 +0100
chore: try /src workspace for kaniko
commit 11d796f0dd
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 15:30:21 2020 +0100
chore: add /src context for kaniko
commit 4b58c3f584
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 15:22:18 2020 +0100
fix: rel paths are nicer to kaniko
commit 63601f7f47
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 15:16:57 2020 +0100
chore: run wherever
commit 54fb45ec65
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 15:06:42 2020 +0100
refactor: effectively revert 907a470
and 63bde0a
commit eece1e3dba
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 14:52:23 2020 +0100
chore: move dockerbuilds to a separate pipeline
* and run them on the main runner
commit 907a4702d8
Author: surtur <a_mirre@utb.cz>
Date: Fri Nov 27 14:47:03 2020 +0100
chore: give kaniko relative paths in Dockerfile
2020-12-02 03:09:34 +01:00
surtur
ea2c3987ab
feat: add container metadata when make dockerbuild
continuous-integration/drone/push Build was killed
2020-11-27 13:51:51 +01:00
surtur
fb69be9d09
chore: add dockertest target
...
* makes things easier
2020-11-27 13:36:08 +01:00
surtur
2cf282bb51
feat: add multistage release dockerbuilds
...
continuous-integration/drone/push Build was killed
* this makes the whole thing self-sufficient - i.e. no more reliance on
host's dotnet, everything is pulled during the build process
* makefile has been updated to reflect this change so that
the 'dockerbuild' target is no longer dependent on 'releasebuild' target
2020-11-27 13:27:37 +01:00
surtur
6e267e702b
feat: add Dockerfile.dev + update Makefile
...
* this allows us to use a separate Dockerfile for debug builds
* new Makefile targets have been added and definitions have been
somewhat simplified
2020-11-26 02:23:50 +01:00
surtur
515ba2666d
feat: add a Makefile (because why not)
2020-11-26 00:25:03 +01:00