gitoria

gitoria

All repositories: gitoria

ReadmeCodePull requestsReleasesTicketsSettings
Commit12b0882912b08829Add person approvals for pull request headsmre12b08829/components/settings.hl

21.3 KB

  1. // components/settings.hl — THE SETTINGS of a repo (gitoria#18): `/settings` on <slug>.<domain>. For now one section,
  2. // "Tickets": connect the repo to a tickets.worldapi.org project (the owner clicks "Tickets: connect", tickets asks which
  3. // project, and brings them back — lib/api.hl /settings/connect and /settings/connected; lib/tickets.hl). Anyone sees
  4. // whether the repo is connected; only the owner sees the buttons. Rendered on the server from the request's host.
  5. // "Apps" (gitoria#41, lib/apps.hl): the owner connects outside apps to the repo — the confirm card of connect flow A (an app sent the browser
  6. // here; lib/api.hl appConnectStart parked the request in the session), the list (Remove, Rotate secret) and Add (the manual way). Key and secret
  7. // are shown ONCE, in the page state of the click that made them.
  8. // (The main branch is switched on the code page.)
  9. parent './repo.hl'
  10. import { siteName } from '../project.hl'
  11. import { slugOfRequest } from '../lib/orgs.hl'
  12. import { userOfSession, userIdOfSession } from '../lib/users.hl'
  13. import { titleSlug, repoAt, ownsRepo, setTicketsConnection, setRepoPriv, membersOf, changeMember, setProtectMain, isProtectedMain } from '../lib/repos.hl'
  14. import { px } from '../lib/util.hl'
  15. import { pageTitle } from '../lib/repos-helpers.hl'
  16. import { ticketsUrl } from '../lib/tickets-helpers.hl'
  17. import { appRows, addApp, removeApp, rotateSecret, sendPing } from '../lib/apps.hl'
  18. import { hostOfUrl } from '../lib/apps-helpers.hl'
  19. import { requiredList, requireContext, requirePerson, peopleOfRepo, dropRequired } from '../lib/statuses.hl'
  20. host = null
  21. orepo = ''
  22. session = null
  23. slug = slugOfRequest(host, orepo)
  24. repo = repoAt(slug, session)
  25. hasRepo = repo != null
  26. pre = px(slug)
  27. connectHref = pre + '/settings/connect'
  28. isOwner = repo != null && ownsRepo(slug, session)
  29. connected = repo != null && repo.ticketsOn
  30. notConnected = repo != null && !repo.ticketsOn
  31. projectTitle = repo != null ? repo.ticketsTitle : ''
  32. projectHref = repo != null && repo.ticketsOn ? ticketsUrl + '/projects/' + repo.ticketsProject : ''
  33. connectNote = session != null && session.data != null && session.data.connectNote != null ? session.data.connectNote : ''
  34. hasConnectNote = connectNote != ''
  35. notOwnerHint = repo != null && !isOwner
  36. settingsError = ''
  37. forgetClass = repo != null && repo.ticketsOn ? 'quiet' : 'nomerge'
  38. __title = pageTitle(siteName, titleSlug(host, orepo, session), 'Settings')
  39. // VISIBILITY AND MEMBERS (GO34): the owner makes the repo private / public and keeps the member list (people who see a private repo and may push)
  40. isPrivate = repo != null && repo.isPrivate
  41. ownPriv = repo != null && repo.isPrivate && !repo.inOrg
  42. privText = repo == null ? '' : (repo.isPrivate ? 'This repository is private: only its owner and its members can see it.' : 'This repository is public: everybody can read it.')
  43. privButton = repo != null && repo.isPrivate ? 'Make public' : 'Make private'
  44. // REFUSE DIRECT PUSHES TO THE MAIN BRANCH (gitoria#50): the owner's switch; off by default
  45. isProtected = repo != null && isProtectedMain(slug)
  46. protectText = isProtected ? 'Direct pushes to the main branch are refused: push a branch with a |||PR commit and merge it on the pulls page.' : 'Anybody who may push can push to the main branch.'
  47. protectButton = isProtected ? 'Allow direct pushes' : 'Refuse direct pushes to the main branch'
  48. listed = isOwner ? membersOf('r', slug, userIdOfSession(session)) : null
  49. members = listed != null && listed.members != null ? listed.members : []
  50. noMembers = isOwner && members.length == 0
  51. memberName = ''
  52. memberError = ''
  53. // APPS (gitoria#41): the owner's list; the connect request an app parked in this session (for this repo only); what was just made (shown once)
  54. apps = isOwner ? appRows(repo.id) : []
  55. noApps = isOwner && apps.length == 0
  56. parked = session != null && session.data != null && session.data.appConnect != null && repo != null && session.data.appConnect.slug == slug ? session.data.appConnect : null
  57. hasParked = parked != null
  58. parkedApp = parked != null ? parked.app : ''
  59. parkedHost = parked != null ? hostOfUrl(parked.ret) : ''
  60. parkedNonce = parked != null ? parked.nonce : ''
  61. confirmAction = pre + '/settings/apps/confirm'
  62. parkedSignedOut = hasParked && session != null && userIdOfSession(session) == null
  63. parkedNotOwner = hasParked && userIdOfSession(session) != null && !isOwner
  64. parkedOwner = hasParked && isOwner
  65. // the Apps section is the owner's; a signed-in non-owner who came to connect an app still gets its message (gitoria#45)
  66. showApps = isOwner || hasParked
  67. appName = ''
  68. appHook = ''
  69. appError = ''
  70. hasShown = false
  71. shownName = ''
  72. shownKey = ''
  73. hasShownKey = false
  74. shownSecret = ''
  75. shownText = ''
  76. // REQUIRED BEFORE MERGE (gitoria#46): the contexts the owner requires to be success on a pull request's head
  77. required = isOwner ? requiredList(repo.id) : []
  78. noRequired = isOwner && required.length == 0
  79. requiredApp = apps.length > 0 ? apps[0].id : ''
  80. requiredContext = ''
  81. requiredError = ''
  82. people = isOwner ? peopleOfRepo(slug) : []
  83. requiredPerson = people.length > 0 ? people[0].id : ''
  84. View {
  85. repoPage {
  86. if (hasRepo) {
  87. repoSettings { id = "settings"
  88. section { id = "visibility"
  89. h2 { "Visibility" }
  90. p { id = "privtext" privText }
  91. if (isOwner) { button { id = "togglepriv" type = "button" privButton on click(e) { emit togglePriv() } } }
  92. p { id = "protecttext" protectText }
  93. if (isOwner) { button { id = "toggleprotect" type = "button" protectButton on click(e) { emit toggleProtect() } } }
  94. if (isOwner) {
  95. h2 { "Members" }
  96. p { class = "muted" "Members see this repository even when it is private, and may push to it. Add somebody by the display name they chose." }
  97. if (noMembers) { p { id = "nomembers" class = "empty" "No members yet." } }
  98. ul { id = "members"
  99. for (m of members) {
  100. li { span { class = "slug" m.name } button { class = "quiet" type = "button" "Remove" on click(e) { emit removeMember(m.name) } } }
  101. }
  102. }
  103. form { id = "memberform"
  104. on submit(e) {
  105. e.preventDefault()
  106. emit addMember(e)
  107. }
  108. label { "Display name"
  109. input { id = "membername" name = "membername" required = "required" maxlength = "60" autocomplete = "off" value = memberName on input(e) { memberName = e.target.value } }
  110. }
  111. button { id = "memberadd" type = "submit" "Add member" }
  112. p { id = "membererror" memberError }
  113. }
  114. }
  115. }
  116. if (showApps) {
  117. section { id = "apps"
  118. h2 { "Apps" }
  119. if (parkedSignedOut) { p { id = "appsignin" "Sign in with the selector at the top to connect " + parkedApp + " to this repository." } }
  120. if (parkedNotOwner) { p { id = "appnotowner" "Only the owner of this repository can connect " + parkedApp + "." } }
  121. if (parkedOwner) {
  122. form { id = "connectapp" method = "post" action = confirmAction
  123. p { id = "connectask" "Connect " + parkedApp + " to " + slug + "?" }
  124. p { class = "muted" "It will get read access to this repository and may review its pull requests. When you say Yes you go back to " + parkedHost + "." }
  125. input { name = "nonce" type = "hidden" value = parkedNonce }
  126. button { id = "connectyes" type = "submit" name = "decision" value = "yes" "Yes, connect" }
  127. button { id = "connectno" class = "quiet" type = "submit" name = "decision" value = "no" "No" }
  128. }
  129. }
  130. if (hasShown) {
  131. div { id = "appshown"
  132. p { shownText }
  133. if (hasShownKey) { p { "Key: " code { id = "shownkey" shownKey } } }
  134. p { "Secret: " code { id = "shownsecret" shownSecret } }
  135. }
  136. }
  137. if (isOwner) {
  138. p { class = "muted" "An app is an outside program (for example a code reviewer) that works on this repository under its own name. Its key and secret are shown once." }
  139. if (noApps) { p { id = "noapps" class = "empty" "No apps connected." } }
  140. ul { id = "applist"
  141. for (a of apps) {
  142. li {
  143. span { class = "slug" a.name }
  144. span { class = "muted" a.host + " · added " + a.created + " · " + a.status }
  145. button { class = "quiet" type = "button" "Send ping" on click(e) { emit pingApp(a.id) } }
  146. button { class = "quiet" type = "button" "Rotate secret" on click(e) { emit rotateApp(a.id) } }
  147. button { class = "quiet" type = "button" "Remove" on click(e) { emit removeAppRow(a.id) } }
  148. }
  149. }
  150. }
  151. form { id = "appform"
  152. on submit(e) {
  153. e.preventDefault()
  154. emit addAppRow(e)
  155. }
  156. label { "App name"
  157. input { id = "appname" name = "appname" required = "required" maxlength = "60" autocomplete = "off" value = appName on input(e) { appName = e.target.value } }
  158. }
  159. label { "Receiver address"
  160. input { id = "apphook" name = "apphook" type = "url" required = "required" maxlength = "500" autocomplete = "off" placeholder = "https://…" value = appHook on input(e) { appHook = e.target.value } }
  161. }
  162. button { id = "appadd" type = "submit" "Add app" }
  163. p { id = "apperror" appError }
  164. }
  165. }
  166. }
  167. }
  168. section { id = "required"
  169. if (isOwner) {
  170. h2 { "Required before merge" }
  171. p { class = "muted" "Require app contexts, people, or both. All required app contexts must succeed, or any one listed person must approve the current head. With only people listed, a person’s approval is needed. A push makes earlier approvals stale." }
  172. if (noRequired) { p { id = "norequired" class = "empty" "Nothing is required: every pull request can be merged." } }
  173. ul { id = "requiredlist"
  174. for (r of required) {
  175. li {
  176. span { class = "slug" r.name }
  177. button { class = "quiet" type = "button" "Remove" on click(e) { emit dropRequiredRow(r.id) } }
  178. }
  179. }
  180. }
  181. form { id = "requiredPersonForm"
  182. on submit(Hybrid e) { emit addRequiredPerson() }
  183. label { "Person"
  184. select { id = "requiredPerson" name = "person" value = requiredPerson on change(Hybrid e) { requiredPerson = e.target.value }
  185. for (person of people) { option { value = person.id person.name } }
  186. }
  187. }
  188. button { id = "requirePerson" type = "submit" "Require approval" }
  189. }
  190. form { id = "requiredform"
  191. on submit(e) {
  192. e.preventDefault()
  193. emit addRequiredRow(e)
  194. }
  195. label { "App"
  196. select { id = "requiredapp" name = "requiredapp" value = requiredApp on change(e) { requiredApp = e.target.value }
  197. for (a of apps) { option { value = a.id a.name } }
  198. }
  199. }
  200. label { "Status context the app sets"
  201. input { id = "requiredcontext" name = "requiredcontext" required = "required" maxlength = "100" autocomplete = "off" value = requiredContext on input(e) { requiredContext = e.target.value } }
  202. }
  203. button { id = "requiredadd" type = "submit" "Require it" }
  204. p { id = "requirederror" requiredError }
  205. }
  206. }
  207. }
  208. section { id = "ticketsettings"
  209. h2 { "Tickets" }
  210. if (hasConnectNote) { p { id = "connectnote" connectNote } }
  211. if (connected) {
  212. p { id = "connectedto" "Connected to the tickets project " a { id = "projectlink" href = projectHref projectTitle } "." }
  213. }
  214. if (notConnected) { p { id = "notconnected" class = "muted" "This repository is not connected to a tickets project yet." } }
  215. if (isOwner) {
  216. p {
  217. a { id = "connecttickets" class = "button" href = connectHref "Tickets: connect" }
  218. }
  219. // Connection-state classes are computed and have no Style-rule selection form.
  220. button { id = "disconnecttickets" class = forgetClass type = "button" "Forget the connection" on click(e) { emit disconnect() } }
  221. p { class = "muted" "Connecting asks tickets which project (you must be its admin there). Tickets can also disconnect gitoria from its side." }
  222. }
  223. if (notOwnerHint) { p { id = "ownerhint" class = "muted" "Only the owner of this repository can connect it." } }
  224. p { id = "settingserror" settingsError }
  225. }
  226. }
  227. }
  228. }
  229. }
  230. on togglePriv() {
  231. memberError = ''
  232. r = emit server gitoriaSetPrivate(slug, !isPrivate)
  233. if (r == null || r.error != null) {
  234. memberError = r != null ? r.error : 'could not change the visibility'
  235. return null
  236. }
  237. isPrivate = r.repo.isPrivate
  238. privText = isPrivate ? 'This repository is private: only its owner and its members can see it.' : 'This repository is public: everybody can read it.'
  239. privButton = isPrivate ? 'Make public' : 'Make private'
  240. }
  241. on toggleProtect() {
  242. memberError = ''
  243. r = emit server gitoriaSetProtect(slug, !isProtected)
  244. if (r == null || r.error != null) {
  245. memberError = r != null ? r.error : 'could not change the setting'
  246. return null
  247. }
  248. isProtected = r.protect
  249. protectText = isProtected ? 'Direct pushes to the main branch are refused: push a branch with a |||PR commit and merge it on the pulls page.' : 'Anybody who may push can push to the main branch.'
  250. protectButton = isProtected ? 'Allow direct pushes' : 'Refuse direct pushes to the main branch'
  251. }
  252. on server gitoriaSetProtect(slugOf, wanted, session) {
  253. return setProtectMain(userIdOfSession(session), slugOf, wanted)
  254. }
  255. on addMember(e) {
  256. memberError = ''
  257. r = emit server gitoriaChangeMember(slug, memberName, true)
  258. if (r == null || r.error != null) {
  259. memberError = r != null ? r.error : 'could not add the member'
  260. return null
  261. }
  262. members = r.members
  263. noMembers = members.length == 0
  264. memberName = ''
  265. }
  266. on removeMember(name) {
  267. memberError = ''
  268. r = emit server gitoriaChangeMember(slug, name, false)
  269. if (r == null || r.error != null) {
  270. memberError = r != null ? r.error : 'could not remove the member'
  271. return null
  272. }
  273. members = r.members
  274. noMembers = members.length == 0
  275. }
  276. on server gitoriaSetPrivate(slugOf, priv, session) {
  277. return setRepoPriv(userIdOfSession(session), slugOf, priv)
  278. }
  279. on addAppRow(e) {
  280. appError = ''
  281. r = emit server gitoriaAppAdd(slug, appName, appHook)
  282. if (r == null || r.error != null) {
  283. appError = r != null ? r.error : 'could not add the app'
  284. return null
  285. }
  286. apps = r.rows
  287. noApps = apps.length == 0
  288. hasShown = true
  289. shownText = 'Connected ' + r.name + '. Copy the key and the secret now: they are not shown again.'
  290. shownKey = r.key
  291. hasShownKey = true
  292. shownSecret = r.secret
  293. appName = ''
  294. appHook = ''
  295. }
  296. on removeAppRow(id) {
  297. appError = ''
  298. r = emit server gitoriaAppRemove(slug, id)
  299. if (r == null || r.error != null) {
  300. appError = r != null ? r.error : 'could not remove the app'
  301. return null
  302. }
  303. apps = r.rows
  304. noApps = apps.length == 0
  305. hasShown = false
  306. }
  307. on pingApp(id) {
  308. appError = ''
  309. r = emit server gitoriaAppPing(slug, id)
  310. if (r == null || r.error != null) {
  311. appError = r != null ? r.error : 'could not send the ping'
  312. return null
  313. }
  314. appError = 'Ping to ' + r.name + ' is on its way. The status of the app shows the answer.'
  315. }
  316. on rotateApp(id) {
  317. appError = ''
  318. r = emit server gitoriaAppRotate(slug, id)
  319. if (r == null || r.error != null) {
  320. appError = r != null ? r.error : 'could not rotate the secret'
  321. return null
  322. }
  323. apps = r.rows
  324. hasShown = true
  325. shownText = 'New secret for ' + r.name + '. Copy it now: it is not shown again. The old secret no longer signs anything.'
  326. shownKey = ''
  327. hasShownKey = false
  328. shownSecret = r.secret
  329. }
  330. on addRequiredPerson() {
  331. requiredError = ''
  332. r = emit server gitoriaRequiredPersonAdd(slug, requiredPerson)
  333. if (r == null || r.error != null) {
  334. requiredError = r != null ? r.error : 'could not save the setting'
  335. return null
  336. }
  337. required = r.rows
  338. noRequired = required.length == 0
  339. }
  340. on server gitoriaRequiredPersonAdd(String slugOf, String personId, session) {
  341. return requirePerson(userIdOfSession(session), session, slugOf, personId)
  342. }
  343. on addRequiredRow(e) {
  344. requiredError = ''
  345. r = emit server gitoriaRequiredAdd(slug, requiredApp, requiredContext)
  346. if (r == null || r.error != null) {
  347. requiredError = r != null ? r.error : 'could not save the setting'
  348. return null
  349. }
  350. required = r.rows
  351. noRequired = required.length == 0
  352. requiredContext = ''
  353. }
  354. on dropRequiredRow(id) {
  355. requiredError = ''
  356. r = emit server gitoriaRequiredRemove(slug, id)
  357. if (r == null || r.error != null) {
  358. requiredError = r != null ? r.error : 'could not save the setting'
  359. return null
  360. }
  361. required = r.rows
  362. noRequired = required.length == 0
  363. }
  364. on server gitoriaRequiredAdd(slugOf, appId, ctxName, session) {
  365. return requireContext(userIdOfSession(session), session, slugOf, appId, ctxName)
  366. }
  367. on server gitoriaRequiredRemove(slugOf, id, session) {
  368. return dropRequired(userIdOfSession(session), session, slugOf, id)
  369. }
  370. on server gitoriaAppAdd(slugOf, name, hook, session) {
  371. return addApp(userIdOfSession(session), session, slugOf, name, hook)
  372. }
  373. on server gitoriaAppRemove(slugOf, id, session) {
  374. return removeApp(userIdOfSession(session), session, slugOf, id)
  375. }
  376. on server gitoriaAppPing(slugOf, id, session) {
  377. return sendPing(userIdOfSession(session), session, slugOf, id)
  378. }
  379. on server gitoriaAppRotate(slugOf, id, session) {
  380. return rotateSecret(userIdOfSession(session), session, slugOf, id)
  381. }
  382. on server gitoriaChangeMember(slugOf, name, add, session) {
  383. return changeMember(userIdOfSession(session), 'r', slugOf, name, add)
  384. }
  385. on disconnect() {
  386. settingsError = ''
  387. r = emit server gitoriaDisconnectTickets(slug)
  388. if (r == null || r.error != null) {
  389. settingsError = r != null ? r.error : 'could not disconnect'
  390. return null
  391. }
  392. connected = false
  393. notConnected = true
  394. forgetClass = 'nomerge'
  395. projectTitle = ''
  396. projectHref = ''
  397. }
  398. on server gitoriaDisconnectTickets(slugOf, session) {
  399. if (session == null || repoAt(slugOf, session) == null) { return { error = 'could not disconnect' } }
  400. if (userOfSession(session) == null || !ownsRepo(slugOf, session)) { return { error = 'only the owner can change this' } }
  401. r = setTicketsConnection(slugOf, '', '', '', '')
  402. if (r.error != null) { return { error = r.error } }
  403. return { ok = true }
  404. }
  405. Style {
  406. #requiredPersonForm {
  407. display = 'grid'
  408. gap = '.75rem'
  409. maxWidth = '32rem'
  410. }
  411. repoSettings {
  412. display = 'grid'
  413. gap = '1rem'
  414. minWidth = '0'
  415. // Direct-child and sibling combinators have no bare language form.
  416. '> *' {
  417. margin = '0'
  418. }
  419. }
  420. #ticketsettings {
  421. display = 'grid'
  422. gap = '.75rem'
  423. justifyItems = 'start'
  424. // Direct-child and sibling combinators have no bare language form.
  425. '> *' {
  426. margin = '0'
  427. }
  428. }
  429. // Runtime and theme class predicates have no bare selector form.
  430. '#disconnecttickets.nomerge' {
  431. display = 'none'
  432. }
  433. #connecttickets {
  434. color = 'var(--color-accent-text)'
  435. background = 'var(--color-accent)'
  436. }
  437. #members {
  438. listStyle = 'none'
  439. margin = '0'
  440. padding = '0'
  441. display = 'grid'
  442. gap = '.25rem'
  443. maxWidth = '32rem'
  444. li {
  445. display = 'flex'
  446. alignItems = 'center'
  447. justifyContent = 'space-between'
  448. gap = '.75rem'
  449. minHeight = '2.75rem'
  450. padding = '0 .5rem 0 1rem'
  451. background = 'var(--color-surface)'
  452. borderRadius = 'var(--radius-large)'
  453. }
  454. }
  455. #memberform {
  456. display = 'grid'
  457. gap = '.75rem'
  458. margin = '.75rem 0 1.5rem'
  459. maxWidth = '32rem'
  460. }
  461. #apps {
  462. display = 'grid'
  463. gap = '.75rem'
  464. margin = '0 0 1.5rem'
  465. justifyItems = 'start'
  466. // Direct-child and sibling combinators have no bare language form.
  467. '> *' {
  468. margin = '0'
  469. }
  470. }
  471. #connectapp {
  472. display = 'grid'
  473. gap = '.75rem'
  474. maxWidth = '32rem'
  475. padding = '1rem'
  476. background = 'var(--color-surface)'
  477. borderRadius = 'var(--radius-large)'
  478. }
  479. #appshown {
  480. margin = '0'
  481. color = 'var(--color-danger)'
  482. empty { display = 'none' }
  483. display = 'grid'
  484. gap = '.5rem'
  485. maxWidth = '100%'
  486. code {
  487. overflowWrap = 'anywhere'
  488. }
  489. }
  490. #applist {
  491. listStyle = 'none'
  492. margin = '0'
  493. padding = '0'
  494. display = 'grid'
  495. gap = '.25rem'
  496. maxWidth = '40rem'
  497. width = '100%'
  498. li {
  499. display = 'flex'
  500. flexWrap = 'wrap'
  501. alignItems = 'center'
  502. gap = '.5rem .75rem'
  503. minHeight = '2.75rem'
  504. padding = '.25rem .5rem .25rem 1rem'
  505. background = 'var(--color-surface)'
  506. borderRadius = 'var(--radius-large)'
  507. }
  508. }
  509. #required {
  510. display = 'grid'
  511. gap = '.75rem'
  512. margin = '0 0 1.5rem'
  513. justifyItems = 'start'
  514. // Direct-child and sibling combinators have no bare language form.
  515. '> *' {
  516. margin = '0'
  517. }
  518. }
  519. #requiredlist {
  520. listStyle = 'none'
  521. margin = '0'
  522. padding = '0'
  523. display = 'grid'
  524. gap = '.25rem'
  525. maxWidth = '40rem'
  526. width = '100%'
  527. li {
  528. display = 'flex'
  529. flexWrap = 'wrap'
  530. alignItems = 'center'
  531. justifyContent = 'space-between'
  532. gap = '.5rem .75rem'
  533. minHeight = '2.75rem'
  534. padding = '.25rem .5rem .25rem 1rem'
  535. background = 'var(--color-surface)'
  536. borderRadius = 'var(--radius-large)'
  537. }
  538. }
  539. #requiredform {
  540. display = 'grid'
  541. gap = '.75rem'
  542. maxWidth = '32rem'
  543. }
  544. #appform {
  545. display = 'grid'
  546. gap = '.75rem'
  547. maxWidth = '32rem'
  548. }
  549. #toggleprotect {
  550. justifySelf = 'start'
  551. }
  552. #togglepriv {
  553. justifySelf = 'start'
  554. }
  555. #visibility {
  556. display = 'grid'
  557. gap = '.75rem'
  558. margin = '0 0 1.5rem'
  559. }
  560. #membererror {
  561. margin = '0'
  562. color = 'var(--color-danger)'
  563. empty { display = 'none' }
  564. }
  565. #appsignin {
  566. margin = '0'
  567. color = 'var(--color-danger)'
  568. empty { display = 'none' }
  569. }
  570. #appnotowner {
  571. margin = '0'
  572. color = 'var(--color-danger)'
  573. empty { display = 'none' }
  574. }
  575. #apperror {
  576. margin = '0'
  577. color = 'var(--color-danger)'
  578. empty { display = 'none' }
  579. }
  580. #requirederror {
  581. margin = '0'
  582. color = 'var(--color-danger)'
  583. empty { display = 'none' }
  584. }
  585. #connectnote {
  586. margin = '0'
  587. color = 'var(--color-danger)'
  588. empty { display = 'none' }
  589. }
  590. #settingserror {
  591. margin = '0'
  592. color = 'var(--color-danger)'
  593. empty { display = 'none' }
  594. }
  595. }

Branches

Latest commits

  • 12b08829Add person approvals for pull request headsmre
  • 55c84779Merge branch 'gp-gate-ports' into mainGitoria
  • 57af42bbREADME: point to deploy.sh for the port listmre
  • d63375d2README: gate commands with explicit portsmre
  • feeaa701|||PR gates: explicit ports only, deploy.sh passes themmre
  • 6cc1f943Merge branch 'records-1112' into mainGitoria
  • 9448c438|||PR records: LOG, missions and reports since 11-09mre
  • 6dc08a8eMerge branch 'p51-public-pr-reads' into mainGitoria
  • 7b88cfe0Type publicReaderOfRequest parameters (L10)Gitoria
  • 2a4b3dc1|||PR Anonymous reads of public repos' pulls and statusesmre
  • 21b2c141Merge branch 's25-no-session-on-login-error' into mainGitoria
  • 698458e2|||PR No session for cookieless login errors: READMEmre
  • cce7b785|||PR No session for cookieless login errorsmre
  • 678d6303Merge branch 'v59' into mainGitoria
  • 5803cf4f|||PR vendor: Hybriel set-day59 and GC budget 32 MiBmre
  • 9eff6627Merge branch 'f2-api-bugs' into mainGitoria
  • 26117255|||PR apps API: review comments on files with spaces in their namemre
  • b8796cecMerge branch 'f1-broken-json' into mainGitoria
  • 2f2959c5|||PR apps API: broken JSON body gives 400 invalid_json, not 500mre
  • f7c6ca07Merge branch 'ident-chooser-selector' into mainGitoria