woodpecker/web/src
Anbraten d494b6a959
Use forge from db (#1417)
This is the first step towards support for multiple forges (#138). It
inserts a forge using the currently existing env varaibles into db and
uses this forge from db later on in all places of the code.

closes #621

addresses #138 

# TODO
- [x] add forges table
- [x] add id of forge to repo
- [x] use forge of repo
- [x] add forge from env vars to db if not exists
- [x] migrate repo.ForgeID to the newly generated forge
- [x] support cache with forge from repo
- [x] maybe add forge loading cache? (use LRU cache for forges, I expect
users to have less than 10 forges normally)

---------

Co-authored-by: qwerty287 <80460567+qwerty287@users.noreply.github.com>
2024-04-16 08:04:55 +02:00
..
assets Remove review button from approval view (#3617) 2024-04-15 16:42:19 +02:00
components Step logs removing API and Button (#3451) 2024-04-15 01:50:50 +02:00
compositions Add bitbucket datacenter (server) support (#2503) 2024-02-20 15:58:02 +01:00
lib/api Step logs removing API and Button (#3451) 2024-04-15 01:50:50 +02:00
store Showing the pending pipelines on top (#1488) 2023-11-01 15:37:43 +01:00
style Add spellcheck config (#3018) 2024-01-27 21:15:10 +01:00
utils Add spellcheck config (#3018) 2024-01-27 21:15:10 +01:00
views Use forge from db (#1417) 2024-04-16 08:04:55 +02:00
App.vue Use consistent woodpecker color scheme (#2003) 2023-08-02 09:09:12 +02:00
main.ts Use browser-native tooltips (#2189) 2023-08-20 15:07:27 +02:00
router.ts Cli setup command (#3384) 2024-03-13 11:08:22 +01:00
style.css use animate-spin class (#3150) 2024-01-09 15:42:23 +01:00
vite-env.d.ts Lazy load locales (#1362) 2022-12-29 13:41:59 +01:00