Allows to map URL requests to local folder structure.
For example, to run against local gerrit-testsite:
/polygerrit-ui/run-server.sh \
--host=localhost:8080 \
--scheme=http \
--plugins=$HOME/gerrit-testsite/plugins/
Change-Id: I20510eb1c2cff93d253aa9f7f38bc42f59f557e9
Enables running proxy server against local Gerrit one like this:
./polygerrit-ui/run-server.sh --host=localhost:8080 --scheme=http
Change-Id: Ie35b11879751b1bb2d353d5a5849e4dfe443c4b3
- include 'web-component-tester' bower dependency as test-dependency
- remove special handling for serving folder 'bower_components'
- add support for passing parameters from 'run-server.sh' to 'server.go'
Change-Id: Ia74b3013e07b6304a4df568b081254909749efc5
So that the user can see which account they're using, switch
accounts, and logout.
Feature: Issue 3693
Change-Id: I08ff42653f78c4a2c496d1a329d3eb26318ca32d
This uses a similar pattern to
https://gerrit-review.googlesource.com/72659/ where a promise is
used for a global var that is retrieved asynchronously.
Change-Id: I99a4b589d368876becf4dd000a2ffde39b34eaa4
This change introduces a dependency of the routing behavior on
whether the user is logged in. Since the WebComponentsReady event
can fire before OR after the account info is retrieved, a Promise
is used to ensure deterministic ordering via `accountReady`.
There is also some minor cleanup of which element is being used
as the global `app` object.
Feature: Issue 3700
Change-Id: I9768f2eabd5cdb7c62ead16ae97df5c1c321eaf6
Currently this checks to see if a user is logged in by hitting the XHR
endpoint /accounts/self/detail upon initial page load.
Change-Id: Ida77c60bf9fee34ddfaee85a15b68cdf85a58af7
Feature: Issue 3693
This is the beginnings of an experimental new non-GWT web UI developed
using a modern JS web framework, http://www.polymer-project.org/. It
will coexist alongside the GWT UI until it is feature-complete.
The functionality of this change is light years from complete, with
a full laundry list of things that don't work. This change is simply
meant to get the starting work in and continue iteration afterward.
The contents of the polygerrit-ui directory started as the full tree of
https://github.com/andybons/polygerrit at 219f531, plus a few more
local changes since review started. In the future this directory will
be pruned, rearranged, and integrated with the Buck build.
Change-Id: Ifb6f5429e8031ee049225cdafa244ad1c21bf5b5