Commit graph

159 commits

Author SHA1 Message Date
Paolo Barbolini
8b58821beb
Remove Mutex around Cache and move away from deprecated lru-cache (#65) 2020-10-05 12:47:24 +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
1b66eddb06
reqwest client + caching (#58) 2020-10-03 13:08:16 +01:00
Paolo Barbolini
b3fcdabeba
Add support for 2018 edition crate renaming (#59) 2020-10-02 23:09:32 +01:00
Rob Ede
66fd685062
fix clippy lints (#56) 2020-10-02 08:37:27 +02:00
Paolo Barbolini
871e9acd74
Fix url generation to git hosted Cargo.toml file (#57) 2020-10-01 21:49:11 +01:00
Rob Ede
45f114b3f6
remove unecessary into_iter/collect
Co-authored-by: Eduardo Pinho <enet4mikeenet@gmail.com>
2020-10-01 15:30:19 +01: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
Eduardo Pinho
7d4c8dd74d Add User-Agent to all requests from the server
- Required by crates.io, which will otherwise forbid the request
- Do the same thing for all other HTTP requests,
  for consistency and transparency
2020-09-29 23:43:03 +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
57c2c79046
update rustsec crate 2020-09-29 00:55:02 +01:00
Rob Ede
820a3cfd28
remove failure 2020-09-29 00:28:58 +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
67bb58710b
make build succeed 2020-09-28 23:35:02 +01:00
Rob Ede
6b98cf4252
update maud versions 2020-09-28 23:28:45 +01:00
Sam Rijs
02394942f3 fix up tests 2018-03-23 20:20:52 +11: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
8ec8952304 use try_future crate to simplify async logic 2018-03-06 22:20:23 +11:00
Sam Rijs
f0442bbb3c integrate rustsec database 2018-02-25 21:59:06 +11:00
Sam Rijs
c4337ae698 instrument analyze timings 2018-02-24 17:37:42 +11:00
Sam Rijs
fec6f12a48 Revert "use lru_time_cache to improve cache expiry"
This reverts commit 063d418747.
2018-02-24 14:44:22 +11:00
Sam Rijs
063d418747 use lru_time_cache to improve cache expiry 2018-02-24 14:27:21 +11:00
Sam Rijs
bc75ceb9e2 move shared fail struct into own crate 2018-02-24 14:12:28 +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
b93fde6ebc fix tests 2018-02-17 00:28:11 +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
bd2482a3cd Whoops, wrong string here 2018-02-12 23:37:29 -05:00
Paul Woolcock
107840c6ee use HEAD instead of master 2018-02-12 22:33:16 -05:00
Paul Woolcock
161e29e6d6 use failure::Error instead of hyper::error::UriError 2018-02-12 22:32:54 -05:00
Paul Woolcock
60b2e2096e Merge branch 'feature/add-gitlab' into feature/add-bitbucket 2018-02-12 22:32:15 -05:00
Paul Woolcock
c5d53d7f2c change master -> HEAD 2018-02-12 22:30:15 -05:00
Paul Woolcock
b8a0fc7a8b Use failure::Error instead of hyper::error::UriError 2018-02-12 22:28:29 -05:00
Paul Woolcock
ca4cd5273d Add fa-bitbucket to get_site_icon
Closes #6
2018-02-12 15:38:55 -05:00
Paul Woolcock
3ca1c7b238 Add bitbucket module for generating url to Cargo.toml 2018-02-12 15:37:57 -05:00
Paul Woolcock
cc537251fe Add 'Bitbucket' to RepoSite enum 2018-02-12 15:32:00 -05:00
Paul Woolcock
b828de404e Add gitlab icon to UI 2018-02-12 12:35:48 -05:00
Paul Woolcock
a46a0960cf Make engine use RetrieveFilePath from interactors/mod.rs 2018-02-12 12:35:41 -05:00
Paul Woolcock
dff2a92aa5 move RetrieveFileAtPath to src/interactors/mod
Also add functions to both the `github` and `gitlab` modules for
constructing the Uri to the manifest
2018-02-12 12:35:33 -05:00
Paul Woolcock
194be9c9b5 Add Gitlab to the RepoSite enum 2018-02-12 12:35:13 -05:00
Sam Rijs
53b7ed3015 introduce lightweight (5 mins) caching for crate metadata 2018-02-12 22:02:54 +11:00
Sam Reis
ab3f69fe6e use HEAD rather than master when retrieving files from repo
fixes #7
2018-02-12 14:33:22 +11:00
Sam Reis
9f384abdac parse workspace manifests without member list
fixes #16
2018-02-12 13:40:38 +11: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
d68884d530 use github-backed crates index when querying crate releases 2018-02-11 22:26:47 +11:00
Sam Rijs
0717c807c3 add test for crawling internal dependencies 2018-02-11 21:25:25 +11:00
Sam Rijs
c0d7d7e313 change from BTreeMap to OrderMap 2018-02-11 21:25:07 +11:00
Sam Rijs
52e3fc4d28 support path-based internal dependencies 2018-02-11 20:53:10 +11:00
Sam Rijs
c135edc2a1 blacklist non-compatible popular repos 2018-02-11 19:09:49 +11:00
Sam Rijs
b0c77b4446 filter out glob members from workspace 2018-02-11 18:53:26 +11:00
Sam Rijs
3615e5982c improve error page 2018-02-11 17:59:19 +11:00
Sam Rijs
9f07308418 introduce footer section
fixes #14
2018-02-11 17:52:48 +11:00
Sam Rijs
ca367f54bb polish error state for dependency report
fixes #10
2018-02-11 17:22:00 +11:00
Sam Rijs
a540e7937d fix tests 2018-02-11 16:32:51 +11:00
Sam Rijs
a91a3b28e5 change icon for empty state to 🙌 2018-02-11 16:29:47 +11:00
Sam Rijs
5080307d9f introduce empty state for dependency table
fixes #9
2018-02-11 16:23:37 +11:00
Sam Rijs
19f97f917e use OrderMap for crates list 2018-02-11 16:17:21 +11:00
Sam Rijs
9421c09a2c preserve crate ordering from workspace 2018-02-11 15:03:09 +11:00
Sam Rijs
e1c921066b implement support for workspaces 2018-02-11 14:46:58 +11:00
Sam Rijs
54e8dfa662 refactor engine in preparation for multi-crate repo support 2018-02-11 13:24:24 +11:00
Sam Rijs
da700e8095 add barebones error states 2018-02-06 21:09:43 +11:00
Sam Rijs
c26c8dbcec remove accidental logging statement 2018-02-05 21:12:47 +11:00
Sam Rijs
d935ca0ef8 move to the failure crate for error reporting 2018-02-05 21:08:52 +11:00
Sam Rijs
b101a3fade throttle calls to get popular repos from github 2018-02-05 19:38:04 +11:00
Sam Rijs
106fa95a84 change copy "Popular" to "Popular Repositories" 2018-02-04 11:34:35 +11:00
Sam Rijs
f34d87d60a set up favicon 2018-02-04 01:41:29 +11:00
Sam Rijs
dff0f8d6e3 add first prototype of landing page 2018-02-03 20:12:00 +11:00
Sam Rijs
3d6ea4be6f add "unknown" svg badge to signal errors 2018-02-03 19:50:24 +11:00
Sam Rijs
f4fa88e204 skip pre-releases when determining latest release 2018-02-03 17:55:50 +11:00
Sam Rijs
281be47b20 factor out common parts of html response 2018-01-30 19:39:54 +11:00
Sam Rijs
5767849693 design: right-align dependency versions and status tag 2018-01-30 07:41:07 +11:00
Sam Rijs
986484aed0 design: adjust size of summary subtitles 2018-01-30 07:32:23 +11:00
Sam Rijs
8f5f1b4542 design: custom build of bulma 2018-01-29 18:34:22 +11:00
Sam Rijs
ab48353ce8 design: make viewport responsive 2018-01-29 10:01:01 +11:00
Sam Rijs
6b26b0b489 pick up BASE_URL from env 2018-01-29 09:36:56 +11:00
Sam Rijs
a8aef1bde6 introduce spacing between qualifier and name in headline 2018-01-28 20:12:33 +11:00
Sam Rijs
3ace68dc38 improve page header 2018-01-28 20:07:46 +11:00
Sam Rijs
2cb7b1ef02 use bulma framework for styling 2018-01-28 19:35:07 +11:00
Sam Rijs
ef6b3f92d4 allow dots in repo names 2018-01-28 10:08:07 +11:00
Sam Rijs
d274045862 add summary per dependency table 2018-01-27 23:20:11 +11:00
Sam Rijs
d320259fe8 link to repo site in headline 2018-01-27 22:49:43 +11:00
Sam Rijs
f5bfc8684f improve markdown <pre> tag 2018-01-27 22:01:49 +11:00
Sam Rijs
267ecf0a10 fix base url 2018-01-27 21:05:43 +11:00
Sam Rijs
084520207b add dynamic port binding 2018-01-27 21:02:32 +11:00