Marcin Kuzminski
0baf293f82
files: remove rigth-to-left override character for display in files.
...
This allows faking the name a bit, we in this particular place want to
skip the override for enhanced security.
2017-10-10 10:46:54 +02:00
Marcin Kuzminski
3839c4720e
forms: unified usage of h.secure_form. Make sure we ALWAYS pass in
...
request, and removed redundant 'POST' type.
2017-09-20 16:43:08 +02:00
Marcin Kuzminski
26635ebc3e
routing: remove usage of url.current from pylons.
2017-09-20 15:44:49 +02:00
Marcin Kuzminski
5115ede454
files: make the copy of the file use safe path. This fixes problem
...
with non-ascii ones.
2017-09-14 11:24:51 +02:00
Marcin Kuzminski
565bfee4c7
files: removed some left over debug.
2017-08-24 17:45:18 +02:00
Marcin Kuzminski
928129ed6c
repositories: rewrote whole admin section to pyramid.
...
- fixed few small found problems
- code cleanups
2017-08-11 13:00:47 +02:00
Marcin Kuzminski
68e8c23896
markup: make relative links pint to raw files for images and to standard files as links.
...
- allows building relative MD/RST links that go to rendered content
- still allows to embed images/video with relative paths
2017-08-04 10:54:33 +02:00
Marcin Kuzminski
81eb5a6b72
forms: fix call for secure form
2017-08-01 11:29:43 +02:00
Marcin Kuzminski
b203d5f208
pull-requests: migrated code from pylons to pyramid
2017-07-27 11:30:55 +02:00
Marcin Kuzminski
93c5a7f9c5
compare: migrated code from pylons to pyramid views.
2017-07-26 13:28:45 +02:00
Marcin Kuzminski
8efc4d92c5
repo-commits: ported changeset code into pyramid views.
...
- refactored part of naming to use commit_id instead of revision
- renamed some parts to repo_commits instead of changeset without breaking backward compat
- small improvements and fixes for tests
2017-07-24 17:04:14 +02:00
Marcin Kuzminski
3b524b7875
renderer: remove usage of old non request PartialRenderer
2017-07-24 09:59:48 +02:00
Lisa Quatmann
666cb615d5
styling: updated old icons based on the new definitions.
...
- making things look nicer.
2017-07-19 22:54:49 +02:00
Marcin Kuzminski
a98d55f137
clipboard: added dummy placeholders for copying commits/paths via clipboard.js
2017-07-19 11:38:34 +02:00
Marcin Kuzminski
b2714a3c1d
changelog: ported to pyramid views.
2017-07-18 00:07:43 +02:00
Marcin Kuzminski
53611d6f94
files: ported repository files controllers to pyramid views.
2017-07-17 14:20:22 +02:00
Daniel Dourvaris
372c7c267c
tooltip: use consistent h.tooltip usage to set tooltips.
2017-06-28 21:02:21 +02:00
Marcin Kuzminski
9ee8d218a2
files: fix problem with specifing custom path for filename.
...
- problem was in html where the filename was specified 2x.
2017-04-24 23:19:10 +02:00
Marcin Kuzminski
6e89c84604
file-upload: allow specfing custom filename for uploaded archives.
2017-04-21 06:02:15 +02:00
Marcin Kuzminski
af0b9fb58b
files: fixed editing of files for branches with / in the name.
...
- currently we're not supporting such names, so we need to use the reference commit_id.
2017-04-04 20:08:51 +02:00
Marcin Kuzminski
8838ed268c
files: render images inside the file view.
...
- instead of displaying binary message, render images icons and gifs
inside the preview pane.
2017-03-28 20:19:23 +02:00
Marcin Kuzminski
91c104ae49
largefiles: enabled download of largefiles for git and mercurial from web interface.
...
- fixes #2817
2017-03-27 14:00:36 +02:00
Marcin Kuzminski
9df656a516
markup-rendering: added relative image support.
...
- adds translation of relative to absolute urls
- fixes #5235
2017-03-10 00:16:09 +01:00
Marcin Kuzminski
0ab5270199
files: make sure code tags don't have excesive spacing.
2017-02-25 23:22:36 +01:00
Marcin Kuzminski
89e2586781
templating: use .mako as extensions for template files.
2017-01-04 22:13:57 +01:00
Marcin Kuzminski
e44090dfe8
diffs: compare overhaul.
...
- made compare and commit range pages more consistent with other commit diff pages
- removed mergerly, closes #4665 . Old diff2way is replaced by new diffs with
side-by-side mode.
- cleanup button behaviour on compare page. Added help text and
generally improved UX
- switched file-diffs to compare page with file filter. Part of #4000
- added collapse/expand commits buttons in compare views.
2016-12-22 23:48:05 +01:00
Marcin Kuzminski
35e0d8c279
files: fix loading of source files events via pjax.
2016-11-21 20:34:04 +01:00
Marcin Kuzminski
1b9714f972
subrepo: show subrepo as dir path.
2016-11-10 13:47:29 +01:00
Daniel Dourvaris
af4ba1eff5
codeblocks: add new code token rendering function that
...
supports diff and normal tokens.
2016-10-19 10:37:07 +03:00
Daniel Dourvaris
8f4e395877
annotations: replace annotated source code viewer with renderer
...
to allow soft wrapping of lines and viewing of annotation message
2016-10-12 18:55:18 +03:00
lisaq
048e2deb50
ux: icon for merge tags
2016-10-04 16:33:01 +02:00
Marcin Kuzminski
92f3db90c9
lexers: added small extensions table to extend syntaxt hl for file sources.
...
fixes #4227
2016-09-14 22:05:21 +02:00
Marcin Lulek
8d9db09b41
js: offsetScroll to elements that are found
2016-09-14 15:23:09 +02:00
Daniel Dourvaris
5a33ed7427
assets: convert pylons static files to pyramid static_url, fixes #3504
2016-07-18 15:17:18 +03:00
Marcin Kuzminski
f48e94aa14
file-browser: refactor how we load metadata for file trees.
...
Before we used to use JSON data to map the nodes to json and fill in
metadata. Now we use rendered parts of html. This is nicer for caching as
it would allow us to replace the view with cached tree and then after ajax load
replace it again with cached with metadata. On the next request we'll
get the cached with metadata and thus we can skip entirely second
ajax call for metadata.
This is part of #4083
2016-07-12 11:45:51 +02:00
Marcin Kuzminski
e22bef75b4
file-browser: fixes #4083
2016-07-11 19:58:16 +02:00
lisaq
4f7a3ca6e8
ux: #4037 use gravatar for commit email and add tooltips for name + email
2016-07-11 14:46:41 +02:00
Marcin Lulek
29c54ee77a
tooltips: remove all occurences of explicit tooltip activation
2016-07-06 15:51:06 +02:00
Marcin Kuzminski
28876607b7
diff2way: fixed unicode problem on non-ascii files.
2016-07-04 23:18:20 +02:00
Marcin Kuzminski
605b26b460
i18n: replaced fragile extraction of JS translations from an _TM variable.
...
We replaced it with similar to babel functions _gettext, and _ngettext, that
will prevent UI from breaking in case of untranslated strings. This
also will allow to use babel built in extractors to fetch the translations
stored inside html and JS.
2016-07-03 23:52:22 +02:00
Marcin Kuzminski
9a0d8c0b77
project: added all source files and assets
2016-05-24 15:56:53 +02:00