mirror of
https://github.com/OutlineFoundation/outline-server.git
synced 2026-11-19 14:22:02 +00:00
* Add per-key data limits to the UI * Hold byte values instead of DisplayDataAmounts in OutlineServerView and OutlinePerKeyDatALimitDialog This allows us to fix a layering issue where, at the time of converting a server access key to a DisplayAccessKey, we couldn't compute the 'relevant transfer' for progress bar displays since we couldn't get at the server's default data limit. * Mayp#values() returns an Iterator, not an array * Rename event field to defaultDataLimitBytes * Don't reset the dialog state on failure * Use a loop instead of Math.max in refreshTransferStats * Unconditionally enable the default data limit in the UI after adding it to the server Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com> * Consistent handling of the view's default data limit state for both addition and removal * Use callbacks to set and remove the per key data limit * s/_showMenu/_showDataLimit/g * Make language a public property of the dialog * The dialog only needs the active data limit * Use a separate method for the handler to open the dialog * Use _activeDataLimitBytes * We can use the ?? operator in `refreshTransferStats` * s/dataLimitType/dataLimitUnit/g * Rename a couple members Co-authored-by: Vinicius Fortuna <fortuna@users.noreply.github.com> |
||
|---|---|---|
| .. | ||
| am.json | ||
| ar.json | ||
| bg.json | ||
| ca.json | ||
| cs.json | ||
| da.json | ||
| de.json | ||
| el.json | ||
| en.json | ||
| es-419.json | ||
| fa.json | ||
| fi.json | ||
| fil.json | ||
| fr.json | ||
| he.json | ||
| hi.json | ||
| hr.json | ||
| hu.json | ||
| id.json | ||
| it.json | ||
| ja.json | ||
| km.json | ||
| ko.json | ||
| lt.json | ||
| lv.json | ||
| master_messages.json | ||
| nl.json | ||
| no.json | ||
| pl.json | ||
| pt-BR.json | ||
| ro.json | ||
| ru.json | ||
| sk.json | ||
| sl.json | ||
| sr-Latn.json | ||
| sr.json | ||
| sv.json | ||
| th.json | ||
| tr.json | ||
| uk.json | ||
| ur.json | ||
| vi.json | ||
| zh-CN.json | ||
| zh-TW.json | ||