Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(130)

Issue 2242543002: Make OAuth client id accessible to new ui w/o hardcoding (Closed)

Created:
4 years, 4 months ago by kjlubick
Modified:
4 years, 4 months ago
Reviewers:
Vadim Sh.
CC:
chromium-reviews, infra-reviews+luci-py_chromium.org, M-A Ruel
Base URL:
https://chromium.googlesource.com/external/github.com/luci/luci-py@master
Target Ref:
refs/heads/master
Project:
luci-py
Visibility:
Public.

Description

Make OAuth client id accessible to new ui w/o hardcoding The (small) index.html for each ui page will be turned into a template with one param - client_id My first try was to make an API endpoint, but that was very very slow, because we had to wait for the api to return (1-3 seconds) before making any other requests. This is zippy and could be memcached, if needed. BUG=631047 Committed: https://github.com/luci/luci-py/commit/e02bb087183bbf2323a0229eda4266b51d5d74d6

Patch Set 1 #

Patch Set 2 : Actually make it not hardcoded #

Total comments: 3

Patch Set 3 : Address nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+75 lines, -86 lines) Patch
M appengine/swarming/app.yaml View 1 chunk +0 lines, -17 lines 0 comments Download
D appengine/swarming/elements/botlist-index.html View 1 chunk +0 lines, -25 lines 0 comments Download
M appengine/swarming/elements/build/elements.html View 6 chunks +14 lines, -4 lines 0 comments Download
D appengine/swarming/elements/index.html View 1 chunk +0 lines, -24 lines 0 comments Download
M appengine/swarming/elements/res/imp/botlist/bot-list.html View 3 chunks +8 lines, -1 line 0 comments Download
M appengine/swarming/elements/res/imp/common/swarming-app.html View 2 chunks +4 lines, -2 lines 0 comments Download
M appengine/swarming/elements/res/imp/index/swarming-index.html View 3 chunks +8 lines, -1 line 0 comments Download
M appengine/swarming/handlers_frontend.py View 1 2 2 chunks +14 lines, -0 lines 0 comments Download
M appengine/swarming/proto/config.proto View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M appengine/swarming/proto/config_pb2.py View 7 chunks +17 lines, -10 lines 0 comments Download
A + appengine/swarming/templates/public_botlist_index.html View 1 chunk +3 lines, -1 line 0 comments Download
A + appengine/swarming/templates/public_swarming_index.html View 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 16 (9 generated)
kjlubick
4 years, 4 months ago (2016-08-11 19:37:38 UTC) #8
Vadim Sh.
most lg, few nits Alternatively, I think, you may generate a JS snipped and include ...
4 years, 4 months ago (2016-08-11 20:00:25 UTC) #9
Vadim Sh.
On 2016/08/11 20:00:25, Vadim Sh. wrote: > most lg, few nits > > Alternatively, I ...
4 years, 4 months ago (2016-08-11 20:01:05 UTC) #10
kjlubick
That idea to create a separate JS file is a good one. If it turns ...
4 years, 4 months ago (2016-08-11 20:11:34 UTC) #11
Vadim Sh.
lgtm
4 years, 4 months ago (2016-08-11 20:13:06 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2242543002/40001
4 years, 4 months ago (2016-08-11 20:13:34 UTC) #14
commit-bot: I haz the power
4 years, 4 months ago (2016-08-11 20:16:56 UTC) #16
Message was sent while issue was closed.
Committed patchset #3 (id:40001) as
https://github.com/luci/luci-py/commit/e02bb087183bbf2323a0229eda4266b51d5d74d6

Powered by Google App Engine
This is Rietveld 408576698