| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
| |
Most of the locations available on the main menu are now supported
by 'g' then some other key. This is stolen from GMail's UI, where
the combinations work well for keyboard centric navigation.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
|
| |
If the user has manually scrolled the window by way of the scrollbar,
when they push j/k to move the pointer we should reposition it onto
the current viewport first, so the window stays roughly where the
user has positioned it.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
| |
The help text reads better this way.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
|
|
| |
When the user presses 'f' inside of a patch viewer we now open up
the list of patches from the same patch set, and let the user move
through them with the keyboard. Selecting a file opens it in the
viewer, but leaves the dialog open until they trigger it to close.
Bug: GERRIT-136
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
| |
If there is exactly one edit region for the file, such as what happens
when the file is added to the project, make n/p only match on comments
as these are much more interesting.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
|
| |
This avoids an unnecessary <div> wrapper around the link element,
saving a bit of DOM memory usage. We also really didn't want to
see the block display format from the <div> and were overriding
it with CSS. Its easier if its just not there.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
| |
These don't work well on MSIE 6, where we need to use History.newItem
to ensure that the history system works correctly.
Bug: GERRIT-86
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
| |
Since we completely override the Hyperlink code we should match
whatever the core GWT version would do here.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
|
| |
In a large file displayed with context = Whole File these keyboard
keys can be very useful to locate the next hunk or prior hunk and
jump immediately to them.
Bug: GERRIT-136
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
| |
This is more consistent with the names we use in NavigationTable.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
| |
Users are more likely to be interested in this information than they
are in the exact client version they are running, or the link back
to our project site and documentation.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
| |
We now poing the user at the file the entry goes in.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
|
|
| |
The OpenSSH client appears to prefer the RSA host key if it is
available from the server when updating ~/.ssh/known_hosts, so
we should display that first if there are multiple keys, as it
is what the end-user would likely try to match the fingerprint
against when doing a visual key comparsion.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
|
| |
This makes it easier to browse through a very long list of changes,
as you can use the keyboard keys n to move to the next page and p
to move to the prior, along with the existing j/k/o to move around
within the page, and open a record.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I've found that although clippy is useful, it slows down the page
rendering as the Flash plugin has to initialize on the host page
every time we change the text we want to permit copying. It also
doesn't work on every operating where flash is supported.
Since CopyableLabel already supports some JavaScript based support
we can just give the user a preference to turn off the flash UI,
and fallback on the pure JavaScript based code.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
|
|
|
| |
By breaking the account preferences into their own object we can
offer a settings screen that does only one RPC to change any of
the settings, updating them all en-mass on the server side. It
makes it easier to add new settings to the code, because we will
only need to modify the database and the model, and not the RPC
interfaces or their service implementations.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
| |
This table can get rather large, and has little to do with the other
user preferences on the main preferences tab.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
| |
We only need to update the show site header/footer once during
module startup, after which point the menu bar can be left alone.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
| |
The module entry point only runs on the client, and this code is
about building the top menu bar for the client UI. The call is
always true, and is just confusing to read in context.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
| |
These were effectively killed when we changed the OpenID login
process to use the main window, rather than an iframe.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
| |
We can't use FocusImpl because it assumes the blur should be on the
first child of the anchor element, and the anchor has no child.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
| |
This way the enter key is generally available for use as a navigation
key, rather than triggering the last menu item you activated.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
|
| |
This code is here only for aid while debugging an OpenID exchange,
which doesn't happen that often. Pulling it out to an isolated
method and tagging it to ignore unchecked casts fixes a warning in
this class.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
|
|
| |
Sometimes when setting up a new server a user can find a way to
insert multiple rows into the system_config table. Instead of
honoring one of them seemingly at ranodm (and ignoring the other
rows that may have critical data in them) we now abort at startup
with a description of the problem.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
| |
Otherwise keystrokes like '/' or '?' in a text area register as
actions in the global key event system, rather than as just input
into the currently focused text box.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
| |
We now can show a screen describing the keyboard shortcuts, but
we also have bindings that work everywhere, including the most
difficult WebKit based browsers.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
| |
This was replaced when we switched to gwtexpui's CSS linker.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
| |
We have to use HostPageBaseURL here, not ModuleBaseURL, as the link
is relative to the host page ('/16') and not the module ('/gerrit/16').
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Allow Gerrit to send email even in GWT hosted mode (the javax.mail.Session is apparently not necessary to create a MimeMessage).
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
| |
Bug: GERRIT-27
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
| |
This removes the need for an implicit FocusPanel from the GWT library,
but still allows the user to implement keyboard navigation.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
| |
This makes it easier to configure Gerrit for MySQL or H2 database
backends, if one of those is preferred by the end user.
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This command displays the current connection table within the
SSH daemon, including connection start time, idle time, user
name, IP address, and active command(s) running on that one
connection. For example,
Start Idle User Remote Host
--------------------------------------------------------------
12:21:17 00:00:01 sop my.laptop.dhcp.example.com
[ git-upload-pack '/kernel/msm.git' ]
12:21:19 00:00:00 sop localhost
[ gerrit-show-connections ]
--
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
| |
Signed-off-by: Shawn O. Pearce <sop@google.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This permits the daemon to come up even if there are connections stuck
in TIME_WAIT or FIN_WAIT2 status within the kernel, which may happen on
a busy server if the daemon is brought down and back up again quickly.
Its potentially risky that you could run two Gerrit daemons on the
same host on the same port and not realize it, so we'll just have to
trust the administrator to not do this.
Bug: GERRIT-164
Signed-off-by: Shawn O. Pearce <sop@google.com>
|