numerus/web/static/fonts/remixicon.glyph.json

1 line
1.7 MiB
JSON
Raw Normal View History

Add user_profile view to update the profile with form Since users do not have access to the auth scheme, i had to add a view that selects only the data that they can see of themselves (i.e., no password or cookie). I wanted to use the `request.user.id` setting that i set in check_cookie, but this would be bad because anyone can change that parameter and, since the view is created by the owner, could see and *change* the values of everyone just by knowing their id. Thus, now i use the cookie instead, because it is way harder to figure out, and if you already have it you can just set to your browser and the user is fucked anyway; the database can not help here. I **am** going to use the user id in row level security policies, but not the value coming for the setting but instaed the one in the `user_profile`, since it already is “derived” from the cookie, that’s why i added that column to the view. The profile includes the language, that i do not use it yet to switch the locale, so i had to add a relation of the available languages, for constraint purposes. There is no NULL language, and instead i added the “Undefined” language, with ‘und’ tag’, to represent “do not know/use content negotiation”. The languages in that relation are the same i used to have inside locale.go, because there is no point on having options for languages i do not have the translation for, so i now configure the list of available languages user in content negotiation from that relation. Finally, i have added all font from RemixIcon because that’s what we used in the design and i am going to use quite a lot of them. There is duplication in the views; i will address that in a different commit.
2023-01-22 01:23:09 +00:00
{"24-hours-fill":{"path":["M0 0H24V24H0z","M12 13c1.657 0 3 1.343 3 3 0 .85-.353 1.616-.92 2.162L12.17 20H15v2H9v-1.724l3.693-3.555c.19-.183.307-.438.307-.721 0-.552-.448-1-1-1s-1 .448-1 1H9c0-1.657 1.343-3 3-3zm6 0v4h2v-4h2v9h-2v-3h-4v-6h2zM4 12c0 2.527 1.171 4.78 3 6.246v2.416C4.011 18.933 2 15.702 2 12h2zm8-10c5.185 0 9.449 3.947 9.95 9h-2.012C19.446 7.054 16.08 4 12 4 9.536 4 7.332 5.114 5.865 6.865L8 9H2V3l2.447 2.446C6.28 3.336 8.984 2 12 2z"],"unicode":"","glyph":"M600 550C682.85 550 750 482.85 750 400C750 357.4999999999999 732.35 319.2000000000001 704 291.9000000000001L608.5 200H750V100H450V186.2000000000001L634.65 363.9500000000001C644.15 373.1 650 385.8499999999999 650 400C650 427.6 627.6 450 600 450S550 427.6 550 400H450C450 482.85 517.15 550 600 550zM900 550V350H1000V550H1100V100H1000V250H800V550H900zM200 600C200 473.65 258.55 361 350 287.7V166.8999999999999C200.55 253.35 100 414.9 100 600H200zM600 1100C859.2499999999999 1100 1072.4499999999998 902.65 1097.5 650H996.9C972.3 847.3 803.9999999999999 1000 600 1000C476.8 1000 366.6 944.3 293.25 856.75L400 750H100V1050L222.35 927.7C314 1033.2 449.2 1100 600 1100z","horizAdvX":"1200"},"24-hours-line":{"path":["M0 0H24V24H0z","M12 13c1.657 0 3 1.343 3 3 0 .85-.353 1.616-.92 2.162L12.17 20H15v2H9v-1.724l3.693-3.555c.19-.183.307-.438.307-.721 0-.552-.448-1-1-1s-1 .448-1 1H9c0-1.657 1.343-3 3-3zm6 0v4h2v-4h2v9h-2v-3h-4v-6h2zM4 12c0 2.527 1.171 4.78 3 6.246v2.416C4.011 18.933 2 15.702 2 12h2zm8-10c5.185 0 9.449 3.947 9.95 9h-2.012C19.446 7.054 16.08 4 12 4 9.25 4 6.824 5.387 5.385 7.5H8v2H2v-6h2V6c1.824-2.43 4.729-4 8-4z"],"unicode":"","glyph":"M600 550C682.85 550 750 482.85 750 400C750 357.4999999999999 732.35 319.2000000000001 704 291.9000000000001L608.5 200H750V100H450V186.2000000000001L634.65 363.9500000000001C644.15 373.1 650 385.8499999999999 650 400C650 427.6 627.6 450 600 450S550 427.6 550 400H450C450 482.85 517.15 550 600 550zM900 550V350H1000V550H1100V100H1000V250H800V550H900zM200 600C200 473.65 258.55 361 350 287.7V166.8999999999999C200.55 253.35 100 414.9 100 600H200zM600 1100C859.2499999999999 1100 1072.4499999999998 902.65 1097.5 650H996.9C972.3 847.3 803.9999999999999 1000 600 1000C462.5 1000 341.2 930.65 269.25 825H400V725H100V1025H200V900C291.2 1021.5 436.45 1100 600 1100z","horizAdvX":"1200"},"4k-fill":{"path":["M0 0h24v24H0z","M3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm8.5 10.5V12h-1V9H9v3H7.5V9H6v4.5h3V15h1.5v-1.5h1zM18 15l-2.25-3L18 9h-1.75l-1.75 2.25V9H13v6h1.5v-2.25L16.25 15H18z"],"unicode":"","glyph":"M150 1050H1050A50 50 0 0 0 1100 1000V200A50 50 0 0 0 1050 150H150A50 50 0 0 0 100 200V1000A50 50 0 0 0 150 1050zM575 525V600H525V750H450V600H375V750H300V525H450V450H525V525H575zM900 450L787.5 600L900 750H812.5L725 637.5V750H650V450H725V562.5L812.5 450H900z","horizAdvX":"1200"},"4k-line":{"path":["M0 0h24v24H0z","M4 5v14h16V5H4zM3 3h18a1 1 0 0 1 1 1v16a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1zm8.5 10.5h-1V15H9v-1.5H6V9h1.5v3H9V9h1.5v3h1v1.5zM18 15h-1.75l-1.75-2.25V15H13V9h1.5v2.25L16.25 9H18l-2.25 3L18 15z"],"unicode":"","glyph":"M200 950V250H1000V950H200zM150 1050H1050A50 50 0 0 0 1100 1000V200A50 50 0 0 0 1050 150H150A50 50 0 0 0 100 200V1000A50 50 0 0 0 150 1050zM575 525H525V450H450V525H300V750H375V600H450V750H525V600H575V525zM900 450H812.5L725 562.5V450H650V750H725V637.5L812.5 750H900L787.5 600L900 450z","horizAdvX":"1200"},"a-b":{"path":["M0 0h24v24H0z","M5 15v2c0 1.054.95 2 2 2h3v2H7a4 4 0 0 1-4-4v-2h2zm13-5l4.4 11h-2.155l-1.201-3h-4.09l-1.199 3h-2.154L16 10h2zm-1 2.885L15.753 16h2.492L17 12.885zM3 3h6a3 3 0 0 1 2.235 5A3 3 0 0 1 9 13H3V3zm6 6H5v2h4a1 1 0 0 0 0-2zm8-6a4 4 0 0 1 4 4v2h-2V7a2 2 0 0 0-2-2h-3V3h3zM9 5H5v2h4a1 1 0 1 0 0-2z"],"unicode":"","glyph":"M250 450V350C250 297.3000000000001 297.5 250 350 250H500V150H350A200 200 0 0 0 150 350V450H250zM900 700L1120 150H1012.2499999999998L952.1999999999998 300H747.6999999999998L687.7499999999999 150H580.0499999999998L800 700H900zM850 555.75L787.65 400H912.25L850 555.75zM150 1050H450A150 150 0 0 0 561.75 800A150 150 0 0 0