open-nomad/ui/app
Charlie Voiselle d93ba0cf32
Add warnings to var put for non-alphanumeric keys. (#15933)
* Warn when Items key isn't directly accessible

Go template requires that map keys are alphanumeric for direct access
using the dotted reference syntax. This warns users when they create
keys that run afoul of this requirement.

- cli: use regex to detect invalid indentifiers in var keys
- test: fix slash in escape test case
- api: share warning formatting function between API and CLI
- ui: warn if var key has characters other than _, letter, or number

---------
Co-authored-by: Charlie Voiselle <464492+angrycub@users.noreply.github.com>
Co-authored-by: Luiz Aoqui <luiz@hashicorp.com>
2023-02-13 16:14:59 -05:00
..
abilities [ui] Token management interface on policy pages (#15435) 2022-12-15 13:11:28 -05:00
adapters Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
components Add warnings to var put for non-alphanumeric keys. (#15933) 2023-02-13 16:14:59 -05:00
controllers Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
helpers [feat] Nomad Job Templates (#15746) 2023-02-02 10:37:40 -05:00
initializers Remove test code 2020-05-26 14:54:59 -07:00
machines Epic: Evaluation Detail Sidebar (#12370) 2022-04-05 14:34:37 -04:00
mixins Upgrade Ember and friends 3.28 (#12215) 2022-03-08 12:28:36 -05:00
models Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
modifiers [ui] Policies UI (#13976) 2022-12-06 12:45:36 -05:00
routes [feat] Nomad Job Templates (#15746) 2023-02-02 10:37:40 -05:00
serializers [feat] Nomad Job Templates (#15746) 2023-02-02 10:37:40 -05:00
services [ui, epic] SSO and Auth improvements (#15110) 2022-11-28 10:44:52 -05:00
styles Dynamic Node Metadata (#15844) 2023-02-07 14:42:25 -08:00
templates ui: glimmerize JobEditor (#16070) 2023-02-13 15:51:55 -05:00
utils slashed comments and datacenters note (#16116) 2023-02-10 14:10:58 -05:00
app.js Update Ember/Ember CLI to 3.20 (#9641) 2021-02-17 15:01:44 -06:00
breakpoints.js
index.html ui: update favicon (#11371) 2021-10-22 09:40:38 -04:00
router.js [feat] Nomad Job Templates (#15746) 2023-02-02 10:37:40 -05:00