Daniel Dourvaris
616bbb0f5f
repo-permission: properly flush caches on set private mode.
2020-01-10 15:56:21 +01:00
Daniel Dourvaris
0beeba3cdc
permissions: flush all user permissions in case of default user permission changes.
...
- this is a special case that due to inheritance we need to flush ALL users permissions
- before the default permission changes didn't flush the caches result in cached values beeing present until the cache expires
2020-01-10 15:51:14 +01:00
Daniel Dourvaris
cb48113259
cached-commits: don't update cache on summary page.
...
- Invalidation logic does that and we don't need to specially do this anymore
2019-12-27 14:15:23 +01:00
Daniel Dourvaris
b686261c8e
cache-commits: add option to refresh caches manually from advanced pages.
2019-12-27 14:13:35 +01:00
Marcin Kuzminski
241db30193
pull-requests: simplified the UI for pr view.
...
- hide some information we don't need all the time
- style the UI similar to upcomming UI overhaul of PRs
- less info == more readability
2019-12-13 12:10:10 +01:00
Marcin Kuzminski
a727f47925
pull-requests: fixed source of changes to be using shadow repos if it exists.
...
- previous logic was flaved as the OR condition always used the main repo
- in case of GIT push -f and rebase we lost commits in the repo resulting in
problems of displaying versions of pull-requests.
2019-12-06 12:08:12 +01:00
Marcin Kuzminski
6977177f84
commits/ux: use similar as in files expand/collapse toggle.
2019-12-05 23:07:35 +01:00
Marcin Kuzminski
03b4b5ba7b
pull-requests: added update pull-requests email+notifications
...
- fixed generated update message comments + invalid anchor linkes generated to the changed files
- unified headers on all email messages for pull requests
2019-12-04 20:58:23 +01:00
Daniel Dourvaris
8bfbe9e1dc
issue-tracker: moved example to the input box
...
- removed docs which had bad examples
- improved regex for matching newline character properly
- added nicer formatting in examples
2019-12-02 15:12:39 +01:00
Marcin Lulek
9143b86d83
pull-requests: loosen strict view of pull-requests that state is changing
...
- we now replace it with limited view which still allows deletion/editing of reviewers or title and description
- added labels for state changing instead of grey out (it was used for closed PRs)
- small UI fixes
2019-11-27 12:43:52 +01:00
Marcin Kuzminski
ad10456d3a
pull-requests: added WIP markers in display, and improved a bit ui when creating a pull-request.
...
- add info about WIP markers in title
- make description a bigger input to match size of title
2019-11-26 12:39:01 +01:00
Marcin Kuzminski
18a751f846
pull-requests: moved force refresh to update commits button.
...
- this action make more sense right after updating pull-request with latest state of commits
- moving out of merge checks which shouldn't have this action as it's confusing
2019-11-26 12:21:13 +01:00
Daniel Dourvaris
65059dd467
webhelpers: extracted django feedgenerator as standalone package to replace webhelpers feedgenerator
2019-11-22 10:20:27 +01:00
Daniel Dourvaris
dbac62326d
webhelpers: replaced paginate library with custom lib
2019-11-21 20:37:17 +01:00
Marcin Kuzminski
ef0be3b6e8
pull-requests: added nicer formatting for merge conflicting files
2019-11-19 16:38:56 +01:00
Marcin Kuzminski
a3815a43af
feeds: don't use cache invalidation context to simplify caches, just use cache based on latest commit_id
2019-11-19 12:41:44 +01:00
Marcin Kuzminski
ecebee8eeb
pull-requests: added quick filter to grid view.
2019-11-09 00:06:28 +01:00
Daniel Dourvaris
f34ef035b6
comments: enable urlify functions on comments in repo/pr scopes.
...
- allows render of !NUM patterns as well as issue tracker patterns.
2019-11-06 14:07:09 +01:00
Daniel Dourvaris
453a6ee9a2
emails: updated emails design and data structure they provide.
...
- more consistent UI for emails
- nicer formatting, plaintext emails
- major cleanup and fixes lots of incosistencies
- additionally debug-style now allows to test emails in browser for faster development
2019-11-05 19:07:09 +01:00
Marcin Kuzminski
491d84ca22
cache: bump file-tree caches to next iteration
2019-11-04 23:05:07 +01:00
Marcin Kuzminski
db66dae0fa
tooltips: small fixes/tests fixes.
2019-11-04 10:53:09 +01:00
Marcin Kuzminski
a7aeae1394
permissions: rename repository permissions to mention those are access permissions.
...
- Soon we'll introduce fine grained permissions for web-edit and artifacts that would require clear separation.
2019-10-09 15:01:03 +02:00
Marcin Kuzminski
3876870e28
tests: stabilize tests for mysql/postgres.
2019-10-08 17:06:35 +02:00
Bartlomiej Wolynczyk
e2b5aab538
comments: added support for adding comment attachments using the artifacts logic.
...
- ACL per-repo
- use dropzone js to add drag n drop capabilities
- use artifacts store as backend
2019-10-05 20:53:41 +02:00
Marcin Kuzminski
340b56f1fa
forks: fixed forking with new landing rev.
...
- also fix tests for that
2019-10-03 09:34:02 +02:00
Marcin Kuzminski
a17adaa9f2
db: use more consistent sorting using real objects, strings are deprecated in laters sqlalchemy query syntax.
2019-09-30 13:24:56 +02:00
Marcin Kuzminski
1d9452ce80
pytest: use consistent way of creating a fixture by using pytest.fixture()
2019-09-28 23:04:18 +02:00
Marcin Kuzminski
2180d8010a
quick-filter: use a dedicated method for fetching quick filter nodes.
...
This code needs a fast and dedicated method for this. We'll re-implement it and
we don't want to change existing API. So it's just a start to have a duplicated
method that will be rewritten.
2019-09-09 14:06:01 +02:00
Marcin Kuzminski
51c6861d06
files: render readme files found in repository file browser.
...
- GH/GL does the same
- this is handy browsing monorepos/big repos with structured docs found in subprojects
2019-09-09 13:03:37 +02:00
Marcin Kuzminski
21fb4a7124
security: fixed XSS in file editing.
2019-08-26 16:58:25 +02:00
Daniel Dourvaris
a80fd47e11
files: ensure we don't parse any content on binary files.
2019-08-23 20:54:00 +02:00
Daniel Dourvaris
5ef518bfdb
file-source: ensure over size limit files never do any content fetching when viewing the files.
...
- otherwise we use lot of memory
- we can easily hit msgpack 4gb size limit on svn repos which often store such non binary files
2019-08-23 20:34:01 +02:00
Daniel Dourvaris
de8ff5bcfa
file-nodes: added streaming remote attributes for vcsserver.
...
- this will enable doing a streaming raw content or raw downloads of large files without transfering them over to enterprise for pack & repack using msgpack
- msgpack has a limit of 4gb and generally pack+repack for 2gb is very slow
2019-08-23 19:09:59 +02:00
Marcin Kuzminski
0ae89b9907
files: only check for git_lfs/hg_largefiles if they are enabled.
...
- this speeds up fetching of files if they are not LF and very big.
2019-08-23 14:37:56 +02:00
Marcin Kuzminski
7775ee50f7
summary: use non-memory cache for readme, and cleanup cache for repo stats.
2019-08-21 21:03:17 +02:00
Marcin Kuzminski
0cbb6b652a
permissions: properly flush user cache permissions in more cases of permission changes.
...
- fixed #5560
2019-08-20 10:48:36 +02:00
Marcin Kuzminski
a027e05476
tests: fixes for commit pages changes.
2019-08-19 12:50:23 +02:00
Marcin Kuzminski
000b072a3f
comments: re-implemented diff and comments/todos in pull-requests.
2019-08-13 12:45:25 +02:00
Marcin Kuzminski
4174ab0239
ui: new commits page.
...
- changes according to design
- consistency, space saving etc
2019-08-06 12:20:29 +02:00
Marcin Kuzminski
981307fc4f
landing-rev: fixes #4102 , use branches instead of landing tip refs by default.
...
- also changed how readme is rendered based on landing commit to minimize locking for often changing repositories.
2019-08-16 09:55:36 +02:00
Marcin Kuzminski
5b8d619a70
tests: fixes after some later code changes
2019-07-29 13:01:18 +02:00
Marcin Kuzminski
60cbfd99c9
path-filter: enable for quick search menu.
2019-07-24 11:53:06 +02:00
Daniel Dourvaris
a6a1f6694a
pull-requests: add indication of state change in list of pull-requests and actually show them in the list.
2019-07-23 14:25:33 +02:00
Marcin Kuzminski
928652312a
core: added more accurate time measurement for called functions
2019-07-17 16:28:41 +02:00
Marcin Kuzminski
cab16efa4e
vcs: optimized pre-load attributes for better caching.
2019-07-17 13:50:26 +02:00
Marcin Kuzminski
16c2d9514a
changelog: don't load branches for parents as we don't need them for DAG graph.
2019-07-17 13:49:34 +02:00
Marcin Kuzminski
0b076e1f65
caches: updated cache backend to new vcsserver caches implementation.
2019-07-17 00:14:26 +02:00
Marcin Kuzminski
a76fa8d3cd
release: merge back stable branch into default
2019-07-12 19:48:03 +02:00
Marcin Kuzminski
51fb86379c
tests: fixed author for commit messages to be in a proper format.
2019-07-11 20:22:45 +02:00
Marcin Kuzminski
7e6bc58c63
rss: use permalinks without slashes for feeds. Fixes #5557
2019-07-09 12:29:39 +02:00