1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-24 12:35:25 +01:00
Commit Graph

656 Commits

Author SHA1 Message Date
Kyle Spearrin
ec395ca0d2 only set https port if using ssl 2018-03-28 22:18:53 -04:00
Kyle Spearrin
c6f4996010 no ssl check on reverse proxy port 2018-03-28 22:07:51 -04:00
Kyle Spearrin
7de9b18aa6 update decision tree for non-ssl use cases 2018-03-28 21:18:10 -04:00
Kyle Spearrin
70aacb45e5 preserve MssqlDataDockerVolume 2018-03-28 16:34:16 -04:00
Kyle Spearrin
22bc85f651 drop json null checks from storage update procs 2018-03-28 13:43:33 -04:00
Kyle Spearrin
0e899d6317 new lines on warning 2018-03-28 12:25:14 -04:00
Kyle Spearrin
cb7008f8c1 more !!!!!!!!!! 2018-03-28 12:23:51 -04:00
Kyle Spearrin
28cd860c54 fix syntax error 2018-03-28 11:12:42 -04:00
Kyle Spearrin
6f708a8198 set proper port bindings for alternate port setup 2018-03-28 11:03:20 -04:00
Kyle Spearrin
7f250a4e74 adminsettings to docker env setup 2018-03-28 10:45:30 -04:00
Kyle Spearrin
674077d453 update image from versions 2018-03-28 10:13:01 -04:00
Kyle Spearrin
ceb4df2450 upgrade nuget libs 2018-03-28 10:00:20 -04:00
Kyle Spearrin
95b25246f1 step down from host root LUID 2018-03-27 22:57:30 -04:00
Kyle Spearrin
ecb490e8a8 logs dir 2018-03-27 22:16:55 -04:00
Kyle Spearrin
17b7905a41 map nginx logs volume 2018-03-27 21:42:50 -04:00
Kyle Spearrin
d6e84a1212 chown nginx logs and data protect admin 2018-03-27 21:37:35 -04:00
Kyle Spearrin
02403596b5 bash 2018-03-27 21:14:52 -04:00
Kyle Spearrin
2c2496d28f fix syntax for entrypoint ands 2018-03-27 17:16:25 -04:00
Kyle Spearrin
62535ae750 upsert bitwarden user 2018-03-27 16:38:11 -04:00
Kyle Spearrin
6cabee56de uid.env file 2018-03-27 15:23:09 -04:00
Kyle Spearrin
0381a48ec9 re-attempt db migrate on update mode failure 2018-03-27 15:12:28 -04:00
Kyle Spearrin
6641290290 no need to create env file 2018-03-27 15:04:13 -04:00
Kyle Spearrin
a205f40613 goso all the things 2018-03-27 14:55:33 -04:00
Kyle Spearrin
005f1e59a0 use gosu to step down in entrypoint 2018-03-26 21:38:32 -04:00
Kyle Spearrin
aa3223b974 internal identity is on port 5000 now 2018-03-26 14:57:10 -04:00
Kyle Spearrin
7f6ddf481f p for parent 2018-03-26 14:34:49 -04:00
Kyle Spearrin
dadfc977ae chown deep directories 2018-03-26 14:29:08 -04:00
Kyle Spearrin
9ecff0048c set permissions on default.conf 2018-03-26 11:59:29 -04:00
Kyle Spearrin
aa78231f69 also need ssl cert dirs for nginx 2018-03-26 11:47:17 -04:00
Kyle Spearrin
5b08763ce5 proper bitwarden user 2018-03-26 11:32:35 -04:00
Kyle Spearrin
b8ed8853cd docker as non-root 2018-03-26 11:21:03 -04:00
Kyle Spearrin
15b1a426e4 build node assets and no trailing admin slash 2018-03-25 00:16:43 -04:00
Kyle Spearrin
a9c8fbf6cb param sniffing on user search proc 2018-03-24 19:56:48 -04:00
Kyle Spearrin
56a0688bd5 proxy to admin 2018-03-24 08:50:41 -04:00
Kyle Spearrin
8a28ce7fb5 /admin with no / suffix 2018-03-24 08:43:42 -04:00
Kyle Spearrin
c4bd015e89 proxypass to /admin 2018-03-24 08:39:55 -04:00
Kyle Spearrin
73a4af3f17 port 5000 2018-03-23 23:03:09 -04:00
Kyle Spearrin
5c3eca264b run admin on port 5000 2018-03-23 22:46:09 -04:00
Kyle Spearrin
232c9206f2 Revert "run as bitwarden group/user"
This reverts commit e499087a57.
2018-03-23 22:17:20 -04:00
Kyle Spearrin
f96911ed57 Revert "running as bitwarden user"
This reverts commit 19fa9bf806.
2018-03-23 22:16:57 -04:00
Kyle Spearrin
19fa9bf806 running as bitwarden user 2018-03-23 21:58:45 -04:00
Kyle Spearrin
e499087a57 run as bitwarden group/user 2018-03-23 21:17:37 -04:00
Kyle Spearrin
24b8619bd1 add docker build for admin 2018-03-23 21:11:17 -04:00
Kyle Spearrin
d138656238 param sniffing on org search query 2018-03-23 10:50:58 -04:00
Kyle Spearrin
e920c8e9d2 org and user info 2018-03-22 21:10:10 -04:00
Kyle Spearrin
7475ed7318 organization search page 2018-03-21 17:41:14 -04:00
Kyle Spearrin
67bf801c15 users listing page 2018-03-21 16:24:10 -04:00
Kyle Spearrin
a46b87c354 no ssl warning 2018-03-17 21:54:01 -04:00
Kyle Spearrin
1f7db8c303 GO and reset on login uris 2018-03-12 10:17:10 -04:00
Kyle Spearrin
09c0096dbd add missing lastid param declaration 2018-03-12 09:45:01 -04:00
Kyle Spearrin
5907d174ba fix login uris in batches 2018-03-12 09:17:20 -04:00
Kyle Spearrin
26b3066c43 only cast concat operation. fix login uris 2018-03-12 08:44:51 -04:00
Kyle Spearrin
2e40766255 cast varchar 2018-03-10 19:49:55 -05:00
Kyle Spearrin
e16b326d0e fix comment 2018-03-08 22:34:28 -05:00
Kyle Spearrin
94ecdf7fd6 support non-ssl installations 2018-03-08 17:31:51 -05:00
Kyle Spearrin
c37016e19e use completion table on login uris update 2018-03-07 00:27:06 -05:00
Kyle Spearrin
03e7cf806a update script for login uris 2018-03-01 23:40:37 -05:00
Kyle Spearrin
555e478ec3 Uppercase Bitwarden 2018-02-27 14:16:19 -05:00
Kyle Spearrin
b8720be78f platform == "macos" 2018-02-22 22:52:33 -05:00
Kyle Spearrin
0f4c732b97 brew variant 2018-02-22 22:41:43 -05:00
Kyle Spearrin
eeb319857b update download proxy 2018-02-22 22:40:47 -05:00
Kyle Spearrin
427a185e87 update docker image deps 2018-02-22 07:52:21 -05:00
Kyle Spearrin
87497a5608 update libs 2018-02-21 22:31:33 -05:00
Kyle Spearrin
4d703541bd update file names to better formatting 2018-02-21 15:09:04 -05:00
Kyle Spearrin
88fd1d8cb3 add safari to download function 2018-02-21 12:26:18 -05:00
Kyle Spearrin
8c2f629174 download function 2018-02-21 12:13:21 -05:00
Kyle Spearrin
d450684144 update to net471 2017-12-26 22:34:51 -05:00
Kyle Spearrin
3425e95bf6 revert prefixing service names with bitwarden- 2017-12-21 11:18:36 -05:00
Kyle Spearrin
8609614711 lock in setup at 2.0.3 2017-12-21 10:13:38 -05:00
Kyle Spearrin
dcd5b95db0 fix mssql connection string in setup 2017-12-20 23:20:12 -05:00
Kyle Spearrin
cf7274aa46 adjust web appsettings overrides 2017-12-20 22:48:51 -05:00
Kyle Spearrin
e7b9ed72c4 env files are only readable by owner 2017-12-20 22:31:30 -05:00
Kyle Spearrin
e9116f8c44 app cache with org ability checks on events 2017-12-19 16:02:39 -05:00
Kyle Spearrin
d75ca51d75 sql event repo "Get" implementations 2017-12-18 23:15:16 -05:00
Kyle Spearrin
f2deff99a7 target net47 for functions project 2017-12-17 23:44:02 -05:00
Kyle Spearrin
a9f232746e store device type and ip address on events 2017-12-15 10:50:06 -05:00
Kyle Spearrin
172fd2425e added org flag for UseEvents 2017-12-14 15:48:44 -05:00
Kyle Spearrin
6649c29a8b event fixes 2017-12-12 15:04:14 -05:00
Kyle Spearrin
5c91949f2d event index and setup script 2017-12-12 14:39:56 -05:00
Kyle Spearrin
3d05c9208f add bitwarden- prefix to docker service names 2017-12-11 11:49:10 -05:00
Kyle Spearrin
f898b92f87 rename containers with bitwarden- prefix 2017-12-07 20:02:06 -05:00
Kyle Spearrin
635db35347 update docker base images 2017-12-04 09:26:50 -05:00
Kyle Spearrin
a1cb980bac make bump sprocs first 2017-11-28 22:58:26 -05:00
Kyle Spearrin
8a81241f13 update packages 2017-11-28 12:57:42 -05:00
Kyle Spearrin
2f3c6b3b01 sproc updates for user account revision bumps 2017-11-24 11:53:55 -05:00
Kyle Spearrin
a25710e756 added proxy prefix 2017-11-20 07:57:26 -05:00
Viktor Hansson
afd72b26eb Support for reverse proxy in setup script (#139)
* Added option for when using reverse proxy to setup script

* Removed debug console.write
2017-11-20 07:53:38 -05:00
Kyle Spearrin
f18e517b1a db maintenance function 2017-11-15 08:10:23 -05:00
Kyle Spearrin
c0cce5a466 database maintenance function 2017-11-15 07:59:03 -05:00
Kyle Spearrin
2d625c7c9a rename db script 2017-11-13 12:11:24 -05:00
Kyle Spearrin
d03421fe4b fix to user already exists checks 2017-11-13 10:06:54 -05:00
Kyle Spearrin
39baf2a9be index tuning script 2017-11-13 08:53:25 -05:00
Kyle Spearrin
16e1e8d78e create empty ssl directory if using own certs 2017-11-10 15:30:18 -05:00
Kyle Spearrin
04cd4cded4 rebuild org view 2017-11-08 21:11:05 -05:00
Kyle Spearrin
2298853fd4 no extra new line needed 2017-11-08 21:01:28 -05:00
Kyle Spearrin
928fd5bc82 PrintEnvironment update commands 2017-11-08 20:54:39 -05:00
Kyle Spearrin
000fbe8a3d port fixed for setup 2017-11-08 20:28:37 -05:00
Kyle Spearrin
daefe0d66b rename plan to "Families" 2017-11-08 12:36:27 -05:00
Kyle Spearrin
666c065c47 globalSettings__pushRelayBaseUri for install only 2017-11-07 23:02:40 -05:00
Kyle Spearrin
4b5dc82eba remove extra $ 2017-11-07 22:45:01 -05:00
Kyle Spearrin
c65e08af85 proper http->https redirect with custom ports 2017-11-07 22:35:36 -05:00
Kyle Spearrin
cf06cd76d5 only add push setting when installing 2017-11-07 11:43:26 -05:00
Kyle Spearrin
bf8e5e392d default values 2017-11-07 11:32:13 -05:00
Kyle Spearrin
ccf5eec481 pass versions through params 2017-11-07 10:54:00 -05:00
Kyle Spearrin
35ff3103a8 new line at end of env override files 2017-11-06 23:01:38 -05:00
Kyle Spearrin
f4142a1a1d build environment files from setup 2017-11-06 22:55:15 -05:00
Kyle Spearrin
49bd3bcf35 build docker compose and allow custom ports 2017-11-06 17:28:02 -05:00
Kyle Spearrin
0fdb9b3d2f change personal plan to family. allow self host 2017-11-06 16:01:58 -05:00
Kyle Spearrin
05ece5dbd5 add columns to org table in db script 2017-10-28 21:03:26 -04:00
Kyle Spearrin
a9cf049a6c drop net461 support in billing and ident.
cleanup various csproj files
add appservice hosting startup package for api
2017-10-27 21:43:26 -04:00
Kyle Spearrin
81d2e3e608 delete with recompile 2017-10-26 20:55:35 -04:00
Kyle Spearrin
a042fd10f1 apis for purging user vault 2017-10-25 21:26:09 -04:00
Kyle Spearrin
1ba269a0a4 db update script 2017-10-25 12:41:15 -04:00
Kyle Spearrin
36e1ba66c7 cert builder 2017-10-24 08:45:48 -04:00
Kyle Spearrin
48e5355aa9 builders and update rebuilds 2017-10-23 22:45:59 -04:00
Kyle Spearrin
dea79f610c icons uri for web settings 2017-10-23 18:12:22 -04:00
Kyle Spearrin
a9fd338690 map icons server in nginx conf 2017-10-23 18:04:21 -04:00
Kyle Spearrin
5069814c4f cleanup startup logging 2017-10-23 09:11:25 -04:00
Kyle Spearrin
5ee0b4a9da simplify secrets in startup via csproj tools 2017-10-19 00:08:09 -04:00
Kyle Spearrin
045056389d update libs 2017-10-18 23:20:16 -04:00
Kyle Spearrin
598034ba19 re-organize packages 2017-10-06 14:10:26 -04:00
Kyle Spearrin
f2183246d2 update libs, aspnet core 20, & id server 2.0 2017-10-06 11:38:47 -04:00
Kyle Spearrin
ce9067a434 SMTP config allow no username/password 2017-10-05 08:34:46 -04:00
Kyle Spearrin
c43bf74192 mssql tagged at 2017-GA 2017-10-03 16:43:12 -04:00
Kyle Spearrin
77541bc4c6 added edge and github to welcome email 2017-10-03 11:15:13 -04:00
Kyle Spearrin
f0483e48c7 server build is not beta tagged 2017-10-02 21:27:31 -04:00
Kyle Spearrin
318fac61bc remove empty continuation line comment 2017-10-02 16:48:01 -04:00
Kyle Spearrin
c6ab727dee versioning images 2017-10-02 16:38:52 -04:00
Kyle Spearrin
978a02f621 new mssql tag 2017-10-02 15:13:51 -04:00
Kyle Spearrin
cb9f3d00d4 cannot block iframes due to duo and u2f 2017-09-18 18:25:29 -04:00
Kyle Spearrin
0caacaa5aa remove billingupdater and old sqlupdate scripts 2017-09-18 16:20:52 -04:00
Kyle Spearrin
a10d0f24ee generate a self signed cert if not using ssl 2017-09-18 13:26:17 -04:00
Kyle Spearrin
934b2c535b if check on db migration of scriptnames 2017-09-18 11:21:32 -04:00
Kyle Spearrin
f4353b598e migrate script names for dbup 2017-09-18 10:44:22 -04:00
Kyle Spearrin
e189e8cc79 only count status confirmed 2017-09-08 17:14:15 -04:00
Kyle Spearrin
8218ab468d azure functions project 2017-09-08 12:38:09 -04:00
Kyle Spearrin
7cdba3e81a adjust default root namespaces 2017-09-08 11:45:20 -04:00
Kyle Spearrin
6573bf44ab billing updater program 2017-09-08 11:43:47 -04:00
Kyle Spearrin
acb6c59e5e cipher details update script 2017-09-06 23:53:12 -04:00
Kyle Spearrin
a614d59465 validate installation keys 2017-09-01 14:02:26 -04:00
Kyle Spearrin
54de2db9af write is also included with accessall 2017-08-30 21:37:58 -04:00
Kyle Spearrin
770fa10f3e fix bugs around collection association 2017-08-30 18:18:39 -04:00
Kyle Spearrin
5bda2ef32f read collection that are write only 2017-08-30 15:57:17 -04:00
Kyle Spearrin
ccd6b784be cleanup old backups 2017-08-29 23:05:52 -04:00
Kyle Spearrin
417ac64ad2 allow to disable user registration from env 2017-08-28 07:50:57 -04:00
Kyle Spearrin
5fa7321575 replytoemail in env file 2017-08-28 07:42:22 -04:00
Kyle Spearrin
f7fd4dec96 host endpoint 2017-08-25 12:43:16 -04:00
Kyle Spearrin
cde50f4e6f command config for server, serve unknown files 2017-08-25 10:59:27 -04:00
Kyle Spearrin
0e2c86b1f5 bullet list 2017-08-24 13:28:04 -04:00
Kyle Spearrin
3627d67d8a env print updates 2017-08-24 11:35:16 -04:00
Kyle Spearrin
e7351753c7 print environment after start 2017-08-24 11:16:01 -04:00
Kyle Spearrin
ba64073683 Nginx 2017-08-23 22:39:31 -04:00
Kyle Spearrin
7ad3c4785b build script updates 2017-08-23 22:22:15 -04:00
Kyle Spearrin
3dd44ce4de more config on nginx server 2017-08-23 22:13:50 -04:00
Kyle Spearrin
0ea87d1c1c user premium validation job 2017-08-22 15:27:29 -04:00
Kyle Spearrin
8e5d541be6 clean with powershell build scripts 2017-08-22 13:13:59 -04:00
Kyle Spearrin
508cfd284f clean before building for images 2017-08-22 13:11:42 -04:00
Kyle Spearrin
1ab815dbb8 smtp fixes 2017-08-21 22:36:57 -04:00
Kyle Spearrin
15e69a529e default smtp ports 2017-08-21 22:36:57 -04:00
Kyle Spearrin
e79e265ef0 smtp env config 2017-08-21 16:44:46 -04:00
Kyle Spearrin
2cfea467d1 sql backups 2017-08-21 10:58:00 -04:00
Kyle Spearrin
371942e3e2 create db on update if needed 2017-08-21 09:57:09 -04:00
Kyle Spearrin
c50b4657d6 stop script 2017-08-21 09:39:12 -04:00
Kyle Spearrin
9049c48aed Strict-Transport-Security only if trusted 2017-08-21 09:19:36 -04:00
Kyle Spearrin
abcb63bf25 new dir for docker env overrides dir 2017-08-19 22:09:00 -04:00
Kyle Spearrin
8db17145bd validate all installation ids 2017-08-19 15:33:37 -04:00
Kyle Spearrin
3ca8801af0 script fixes for mac 2017-08-19 15:27:57 -04:00
Kyle Spearrin
02d6c0c47d initial setup script for db 2017-08-19 12:52:05 -04:00
Kyle Spearrin
9b3e2dcd58 SqlConnectionStringBuilder to make connection string 2017-08-19 10:37:51 -04:00
Kyle Spearrin
0c71c1a44f install validation fixes 2017-08-19 09:56:55 -04:00
Kyle Spearrin
0a8e831004 validate bitwarden installation id 2017-08-19 09:33:14 -04:00
Kyle Spearrin
d4809686db mssql image setup script, db up migrations with upgrade from setup 2017-08-18 18:22:25 -04:00
Kyle Spearrin
1fd7f5dd03 mssql image with setup script on entrypoint 2017-08-17 22:28:56 -04:00
Kyle Spearrin
8021621a3f cleanup old jobs 2017-08-17 20:13:10 -04:00
Kyle Spearrin
fd35ac45b2 run jobs crons on API image 2017-08-17 16:45:27 -04:00
Kyle Spearrin
2d26b5fbbd move attachments and nginx to util folder 2017-08-16 00:22:52 -04:00
Kyle Spearrin
71c4954ca8 create kestrel server for serving static files 2017-08-15 12:03:55 -04:00
Kyle Spearrin
6b80ec6331 updates for license validation 2017-08-14 13:06:44 -04:00
Kyle Spearrin
e822e66a79 setup updates and added mac support to conpose 2017-08-11 14:43:46 -04:00
Kyle Spearrin
3ac1f87e12 env files for compose. fixes to push relays 2017-08-11 12:22:59 -04:00
Kyle Spearrin
0f37920de2 push registration through relay apis 2017-08-11 08:57:31 -04:00
Kyle Spearrin
a1d064ed9e license verification services for user/org 2017-08-09 17:01:37 -04:00
Kyle Spearrin
7590ea37f9 convert more services to local resources 2017-08-08 23:06:28 -04:00
Kyle Spearrin
e081213615 attachments build cleanup 2017-08-08 17:50:40 -04:00
Kyle Spearrin
fecd5b3a1a local attachment storage & docker image 2017-08-08 17:27:01 -04:00
Kyle Spearrin
7cf54b0e4c setup for ssl certs 2017-08-08 14:35:31 -04:00
Kyle Spearrin
e70323b59e FIDO U2F facet fiel headers 2017-08-08 12:29:59 -04:00
Kyle Spearrin
0a12006d32 Referrer-Policy header 2017-08-08 00:37:05 -04:00
Kyle Spearrin
e7905dec04 PersistKeysToFileSystem when selfhosted 2017-08-08 00:02:52 -04:00
Kyle Spearrin
3e7c0f7ca1 make web appsettings overrides 2017-08-07 21:16:56 -04:00
Kyle Spearrin
a281e9906d docker web image 2017-08-07 17:08:41 -04:00
Kyle Spearrin
9bc6ba554a docker setup 2017-08-07 16:31:00 -04:00
Kyle Spearrin
3880edfb79 add x-platform support with netcore 2.0 2017-07-31 16:58:27 -04:00
Kyle Spearrin
cfc80f8d1e billing fixes and added gateway to subscriber 2017-07-28 14:24:07 -04:00
Kyle Spearrin
783c46afa6 script update 2017-07-26 12:21:59 -04:00
Kyle Spearrin
4af80001e5 restore announcement template 2017-07-25 22:36:17 -04:00
Kyle Spearrin
c3b2be17a9 version bump and project cleanup 2017-07-25 22:34:07 -04:00
Kyle Spearrin
fbc189544b org totp and storage flags 2017-07-07 14:08:30 -04:00
Kyle Spearrin
284078e946 database adjustments and storage for attachments 2017-06-30 14:41:57 -04:00
Kyle Spearrin
eea2ae30b4 get recovery code api 2017-06-24 17:16:05 -04:00
Kyle Spearrin
2eaaecd95c remove user twofactorenabled property 2017-06-19 22:25:19 -04:00
Kyle Spearrin
8112825556 migrator update 2017-06-16 20:18:30 -04:00
Kyle Spearrin
7a6401c943 update script fixes 2017-06-16 14:55:40 -04:00
Kyle Spearrin
f352ec808f update script for two factor 2017-06-07 15:39:43 -04:00
Kyle Spearrin
a3a42f4fd5 move mail and sql updates to util folder 2017-05-31 08:32:45 -04:00
Kyle Spearrin
c4dee589cc notification hub migrator util 2017-05-29 23:35:41 -04:00