Commit graph

77 commits

Author SHA1 Message Date
Rob Ede
262d27dd74
Add compact and flat badge styles (#136) 2022-01-24 15:18:19 +00:00
Atk
8bdee6b770
Codeberg support (#134) 2022-01-19 00:51:33 +00:00
Rob Ede
e8fbb00ada
Reduce futures dep to futures-util (#135) 2022-01-16 16:48:08 +00:00
Paolo Barbolini
7ac25b31ff
Fix displaying patched versions (#127) 2021-11-25 09:46:51 +00:00
Eduardo Pinho
309f13ec84
Extend dependency status box to report more issues (#121)
* Extend dependency status box to report more issues

- replace render_dev_dependency_box
  with an extended render_dependency_box
   - reports insecure dev dependencies,
     outdated main dependencies,
     and outdated dev dependencies
   - handle pluralization in dependency count message
- change methods in AnalyzeDependenciesOutcome
   - add count_outdated
   - remove any_dev_issues
- remove AnalyzedDependencies::any_dev_issues

* Format status.rs

* Simplify AnalyzeDependenciesOutcome method impls

- match ergonomics lint

* Use bullet point list

* Tweak dependency box again

- only use list items if there is more than one dependency kind

* Fix outdated dependency count

- `count_outdated` already counts only main dependencies

* Tweak dependency box to no longer assume non-zero issues

- check for when all dependency component counts are zero,
  render nothing
- always call `render_dependency_box` if it finds no security issues

Co-authored-by: Cecile Tonglet <cecile.tonglet@cecton.com>
2021-10-18 15:55:53 +01:00
Eduardo Pinho
6cd7256ee8
Only query advisory database on latest matching version (#98)
* Add methods to check always insecure dependencies

Unlike checks for `_insecure`,
   `always_insecure_ only accounts for
   vulnerabilities not patched in the latest version in the range

* Update status renders to show "maybe insecure"

- show always insecure dependencies as insecure,
  and remaining ones as "possibly insecure"
- show warning sign on all dependencies with possible vulnerability
- tweak security banner in case
  all insecure dependencies are "possibly insecure"

* Update badge renderer to show "maybe insecure"

- only show the red "inscure"
  if >=1 dependency is always insecure
- show "possibly insecure" if all are up to date but might be vulnerable

* Update status renderer

- more complete counts per project

* Format code

* Extend banner to explain what "maybe insecure" means
2021-09-05 09:51:10 +02:00
Tassilo Horn
c99b0df891
Add support for projects hosted on sourcehut (sr.ht) (#117) 2021-08-31 20:38:38 +01:00
Eduardo Pinho
5b3fa9b0b2
Update dependencies crates-index and rustsec (#118) 2021-08-22 22:13:01 +01:00
Paolo Barbolini
a1ca0680c8
Update dependencies (#111) 2021-05-27 16:02:02 +02:00
a6b43e4e6d
feat: add 404 page (#104)
* feat: add 404 page

* feat: cache 404 results for 5 minutes
2021-02-23 16:22:00 +01:00
Paolo Barbolini
c5443aaa92
Use font-awesome-as-a-crate instead of importing the entire Font Awesome library (#101) 2021-02-10 16:45:14 +01:00
Paolo Barbolini
b0243d5dac
Setup cache busting for style.css (#100) 2021-02-10 12:49:35 +01:00
Rob Ede
461dfe2fbd
trim path trailing slashes before route match (#99) 2021-02-02 10:25:29 +00:00
7ebffe019f
Display rustsec information on page (#96)
* chore: Bump rustsec version

* feat: display RustSec CVEs at the bottom

This closes #75.

* fix: Reduce complexity and remove duplicate advisories
2021-02-01 19:46:26 +01:00
Rob Ede
1fc1f24480
bump all dependencies except tokio (#87)
* bump all dependencies except tokio

* bump lib deps
2020-12-26 15:30:17 +01:00
Rob Ede
139741362e
links direct to other deps.rs pages (#86)
and a crates link is provided on the icon to the left
2020-12-13 13:28:22 +00:00
Paolo Barbolini
33afafc879
Upgrade to maud 0.22.1 and switch to stable Rust (#74) 2020-11-04 14:42:42 +01:00
Henil
0764c00422
Show number of outdated dependencies even if insecure crates are present (#73)
* Update to show number of outdated dependencies even if insecure crates are present

* add match statement to simplify if-else statment
2020-10-26 18:40:45 +01:00
0a22c413b3
Remove dev-dependencies from badge (#70)
* Remove dev-dependencies from badge
* Document behavior of functions on AnalyzedDependencies
2020-10-26 15:49:40 +01:00
Cecile Tonglet
dcd2e7a421
New logo (#64) 2020-10-04 21:28:01 +02:00
Rob Ede
aa0f4777e2
improve logging (#62) 2020-10-04 16:03:52 +01:00
Rob Ede
66fd685062
fix clippy lints (#56) 2020-10-02 08:37:27 +02:00
Rob Ede
4642560868
remove debugging print 2020-10-01 11:24:51 +01:00
Rob Ede
b7b25b7cb7
update hyper and futures ecosystem 2020-09-30 23:08:40 +01:00
Paolo Barbolini
c6b3fb46e8 Upgrade to hyper 0.12 2020-09-29 23:04:13 +02:00
Tom Parker-Shemilt
426b8a56a4 Update links in mod.rs as well 2020-09-29 20:29:22 +01:00
Rob Ede
9a1bee0eba
remove slog macro_use 2020-09-29 00:01:14 +01:00
Rob Ede
c8531f444a
fmt 2020-09-28 23:53:20 +01:00
Rob Ede
63a8355543
replace lazy-static with once-cell 2020-09-28 23:50:12 +01:00
Rob Ede
1d5fdd5dc5
welcome to 2018 2020-09-28 23:48:26 +01:00
Rob Ede
6b98cf4252
update maud versions 2020-09-28 23:28:45 +01:00
Sam Rijs
6baccaf8ea integrate rustsec database 2018-03-22 20:08:16 +11:00
Sam Rijs
d953bdb2fb remove gauges 2018-03-10 23:23:09 +11:00
Sam Rijs
5885ec3f8c improve badge generation performance 2018-03-07 18:53:29 +11:00
Sam Rijs
f0442bbb3c integrate rustsec database 2018-02-25 21:59:06 +11:00
Sam Rijs
c7bc04efc1 simplify latest crate search 2018-02-17 14:59:54 +11:00
Sam Rijs
37a11c17b5 add popular crates to index 2018-02-17 14:41:09 +11:00
Sam Rijs
e0352539bd implement redirect for crate report 2018-02-17 10:15:15 +11:00
Sam Rijs
26d18be9af upgrade from ordermap to indexmap 2018-02-17 09:31:38 +11:00
Sam Rijs
7fff95203e first simple version of crate dependency reports 2018-02-17 00:25:34 +11:00
Sam Reis
12e4d7df51 display number of outdated dependencies in badge 2018-02-14 12:49:46 +11:00
Sam Reis
1c4f933887 vendor badge crate with changes 2018-02-14 11:50:39 +11:00
Sam Reis
8b7c89bedd introduce dynamic generation of badges 2018-02-14 10:49:08 +11:00
Sam Rijs
4bdebcaaad change color on up-to-date badge to a brighter green 2018-02-14 08:30:14 +11:00
Paul Woolcock
ca4cd5273d Add fa-bitbucket to get_site_icon
Closes #6
2018-02-12 15:38:55 -05:00
Paul Woolcock
b828de404e Add gitlab icon to UI 2018-02-12 12:35:48 -05:00
Robin Stocker
04e5c5701c
Fix typo in description of website 2018-02-12 12:23:13 +11:00
Sam Rijs
a4249e3983 add gauges tracking code 2018-02-12 08:07:07 +11:00
Sam Rijs
6557312468 track rendering duration in footer 2018-02-11 23:21:55 +11:00
Sam Rijs
c0d7d7e313 change from BTreeMap to OrderMap 2018-02-11 21:25:07 +11:00