Jake Howard
3ab90259f2
Modify rustfmt file
4 years ago
Jake Howard
93c881a7a9
Reflow some lines manually
4 years ago
Jake Howard
0af3956abd
Run `cargo fmt` on codebase
4 years ago
Jake Howard
15feff3e79
Add fmt to CI
4 years ago
Daniel García
5c5700caa7
Merge pull request #1565 from BlackDex/misc-updates
...
Misc changes.
4 years ago
Daniel García
3bddc176d6
Updated sponsors
4 years ago
BlackDex
9caf4bf383
Misc changes.
...
Some small changes in general:
- Moved the SQL Version check struct into the function.
- Updated hadolint to 2.0.0
- Fixed hadolint 2.0.0 warnings
- Updated github workflows
- Added .editorconfig for some general shared editor settings.
4 years ago
Daniel García
9b2234fa0e
Merge pull request #1556 from mkilchhofer/docs/update_template
...
fix(env.template): IP_HEADER defaults to X-Real-IP
4 years ago
Daniel García
1f79fdec4e
Merge pull request #1552 from BlackDex/misc-fixes
...
Icon and SMTP Debug fixes.
4 years ago
Marco Kilchhofer
a56f4c97e4
fix(env.template): IP_HEADER defaults to X-Real-IP
...
This was wrong in commit 88c56de97b
.
4 years ago
BlackDex
3a3390963c
Icon and SMTP Debug fixes.
...
- We need to add some feature to enable smtp debugging again. See: https://github.com/lettre/lettre/pull/584
- Upstream added the fallback icon again, probably because of caching ;). See: https://github.com/bitwarden/server/pull/1149
- Enabled gzip and brotli compression support with reqwest. Some sites seem to force this, or assume that because of the User-Agent string it is supported. This caused some failed icons.
Fixes #1540
4 years ago
Daniel García
fd27759a95
Merge pull request #1546 from RealOrangeOne/clippy-run
...
Run Clippy
4 years ago
Daniel García
01d8056c73
Merge pull request #1545 from RealOrangeOne/icon-client-cache
...
Client caching
4 years ago
Jake Howard
81fa33ebb5
Remove unnecessary reference
4 years ago
Jake Howard
e8aa3bc066
Merge branch 'master' into clippy-run
4 years ago
Jake Howard
0bf0125e82
Reverse negation on ordering
...
Co-authored-by: Daniel García <dani-garcia@users.noreply.github.com>
4 years ago
Jake Howard
6209e778e5
Icons should always be cached using full TTL
4 years ago
Daniel García
5323283f98
Merge pull request #1548 from BlackDex/admin-interface
...
Updated diagnostics page
4 years ago
BlackDex
57e17d0648
Updated diagnostics page
...
- Added reverse proxy check
- Better deffinition of internet proxy
- Added SQL Server version detection
4 years ago
Jake Howard
da55d5ec70
Also run actions CI on pull request
...
`push` only counts for pushes to branches on the repo, not forks
4 years ago
Jake Howard
828a060698
Run clippy on CI
4 years ago
Jake Howard
3e5971b9db
Remove unnecessary result return types
4 years ago
Jake Howard
47c2625d38
Prevent `clippy` complaining at method
...
It's not incorrectly wrapped. We care about the return type being `Option`.
4 years ago
Jake Howard
49af9cf4f5
Correctly camelCase acronyms
...
https://rust-lang.github.io/rust-clippy/master/index.html#upper_case_acronyms
4 years ago
Jake Howard
6b1daeba05
Implement `From` over `Into`
...
https://rust-lang.github.io/rust-clippy/master/index.html#from_over_into
4 years ago
Jake Howard
9f1240d8d9
Only construct JSON object if it's useful
4 years ago
Jake Howard
a8138be69b
Use `if let` more
4 years ago
Jake Howard
ea57dc3bc9
Use `matches` macro
4 years ago
Jake Howard
131348a49f
Add immutable caching for vault assets
...
The URLs are cachebusted, so updates will still be applied cleanly and immediately
4 years ago
Jake Howard
b22564cb00
Cache icons on the client
...
This should make the vault pages load much faster, and massively reduce the number of requests.
4 years ago
Daniel García
16eb0a56f9
Exclude vendored scripts from Github language statistics
4 years ago
Daniel García
3e4ff47a38
Update dependencies, particularly openssl to 1.1.1k
4 years ago
Daniel García
8ea01a67f6
Merge pull request #1529 from mprasil/more-generic-send-error-messages
...
Return generic message when Send not available
4 years ago
Miro Prasil
aa5cc642e1
Use constant for the "inaccessible" error message
4 years ago
Daniel García
a121cb6f00
Merge pull request #1530 from jjlin/global-domains
...
Sync global_domains.json
4 years ago
Daniel García
60164182ae
Fix alpine armv7 build
...
Reference: https://github.com/messense/rust-musl-cross/pull/34
4 years ago
Jeremy Lin
f842a80cdb
Sync global_domains.json to bitwarden/server@455e4b2 (ProtonMail/ProtonVPN)
4 years ago
Miro Prasil
4b6a574ee0
Return generic message when Send not available
...
This should help avoid leaking information about (non)existence of Send
and be more in line with what official server returns.
4 years ago
Daniel García
f9ebb780f9
Update dependencies
4 years ago
Daniel García
1fc6c30652
Send deletion thread and updated users revision
4 years ago
Daniel García
46a1a013cd
Update user revision date with sends
4 years ago
Daniel García
551810c486
Fix updating file send
4 years ago
Daniel García
b987ba506d
Merge pull request #1493 from jjlin/send
...
Add support for the Disable Send policy
4 years ago
Daniel García
84810f2bb2
Remove unnecessary fields from send access
4 years ago
Jeremy Lin
424d666a50
Add support for the Disable Send policy
...
Upstream refs:
* https://github.com/bitwarden/server/pull/1130
* https://bitwarden.com/help/article/policies/#disable-send
4 years ago
Daniel García
a71359f647
Merge pull request #1469 from jjlin/cors
...
CORS fixes
4 years ago
Daniel García
d93c344176
Merge branch 'master' into cors
4 years ago
Daniel García
b9c3213b90
Merge pull request #1487 from jjlin/send
...
Send access check fixes
4 years ago
Daniel García
95e24ffc51
rename send key -> akey
4 years ago
Jeremy Lin
00d56d7295
Send access check fixes
...
Adjust checks for max access count, expiration date, and deletion date.
The date checks aren't that important, but the access count check
currently allows one more access than it should.
4 years ago