forked from ravan91/GateOne
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
utils.py: Fixed a bug in
drop_privileges()
where it wasn't converti…
…ng uid values given as strings into integers. Note that this doesn't impact Gate One at all since it pre-converts to integers before calling `drop_privileges()` anyway. A bug is a bug though. utils.py: The `drop_privileges()` function will now set `USER`, `LOGNAME`, `SHELL`, and `HOME` after it drops privileges. app_terminal.py: Before spawning a new terminal the environment variables will name have the default `os.environ` applied so the shell process will get the defaults in addition to any extras/overrides set by Gate One or the "environment_vars" setting. Themes: Switched from "Ubuntu, Arial Black, sans-serif" to "Ubuntu, Arial, sans-serif" because Arial Black looks fugly on Windows for some reason. Themes: Tweaked the CSS that controls the application icon grid in the New Workspace Workspace. REMOVED: Mobile plugin: The function it provides has been moved to various individual CSS files in the form of CSS media queries. Not that using a mobile browser is worthwhile anyway... Chrome for Android doesn't register kedown/keyup events (see my >1 year old bug: https://code.google.com/p/chromium/issues/detail?id=118639) which means you can't use the backspace key and Firefox mobile doesn't fire componsition* events properly (a new bug which I opened today: https://bugzilla.mozilla.org/show_bug.cgi?id=921209). terminal_input.js: Not that it matters but I cleaned up the code that deals with mobile browsers a bit.
- Loading branch information
Showing
23 changed files
with
268 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,9 +9,9 @@ | |
|
||
# Meta information about the plugin. Your plugin doesn't *have* to have this | ||
# but it is a good idea. | ||
__version__ = '1.0' | ||
__version__ = '1.2' | ||
__license__ = "AGPLv3 or Proprietary (see LICENSE.txt)" | ||
__version_info__ = (1, 0) | ||
__version_info__ = (1, 2) | ||
__author__ = 'Dan McDougall <[email protected]>' | ||
|
||
# I like to start my files with imports from Python's standard library... | ||
|
@@ -1161,6 +1161,7 @@ def new_terminal(self, settings): | |
'GO_SESSION_DIR': options.session_dir, | ||
'GO_USER_SESSION_DIR': user_session_dir, | ||
} | ||
env.update(os.environ) # Add the defaults for this system | ||
env.update(environment_vars) # Apply policy-based environment | ||
if self.plugin_env_hooks: | ||
# This allows plugins to add/override environment variables | ||
|
This file was deleted.
Oops, something went wrong.
23 changes: 0 additions & 23 deletions
23
gateone/applications/terminal/plugins/mobile/templates/mobile.css
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,7 +10,7 @@ | |
__version_info__ = (1, 2, 0) | ||
__license__ = "AGPLv3" # ...or proprietary (see LICENSE.txt) | ||
__author__ = 'Dan McDougall <[email protected]>' | ||
__commit__ = "20130925212401" # Gets replaced by git (holds the date/time) | ||
__commit__ = "20130925212405" # Gets replaced by git (holds the date/time) | ||
|
||
# NOTE: Docstring includes reStructuredText markup for use with Sphinx. | ||
__doc__ = '''\ | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.