Marcin Kuzminski
69ea375e9d
pull-requests: expose force refresh of merge workspace and expose all metadata for merge message formatting.
2019-03-22 16:39:11 +01:00
Marcin Kuzminski
0cac94b946
ui: normalize main grid sizes and columns
2019-03-13 18:08:57 +01:00
Marcin Kuzminski
6039839d53
go-to search: updated logic of goto switcher
...
- when in repo group searcher are ordered by the entries in the group
- support prefixes with spaces, eg file: PATTERN
- new contextual search for groups/repos with mark token
- better suggestions
2019-03-13 12:12:01 +01:00
Marcin Kuzminski
604f7690b3
release: merge back stable branch into default
2019-03-11 11:57:20 +01:00
Marcin Lulek
e303ffca3f
comments[security]: make an additional check to forbid solving comments from other repo scope.
2019-03-11 08:46:12 +01:00
Marcin Lulek
33fb560347
comments[security]: make an additional check to forbid solving comments from other repo scope.
2019-03-11 08:46:12 +01:00
Marcin Kuzminski
ba0940ba94
gists: define and use explicit Mercurial backend to speed up creation and fetching of backend repo
2019-03-05 11:19:22 +01:00
Marcin Kuzminski
823c59c011
encryption: added new backend using cryptography + Fernet encryption.
...
- This would soon replace the old deprecated one based on pycrypto
- We need a migration for the encryption data
2019-02-26 13:18:24 +01:00
Marcin Kuzminski
84383cd557
pull-requests: handle non-ascii branches from short branch selector via URL
2019-02-26 09:25:26 +01:00
Marcin Kuzminski
2b3ffd0372
ssh: replaced pycrypto with cryptography to generate SSH keys.
...
- pycrypto has been removed now
- pycrypto has CVEs and it's deprecated
2019-02-25 22:49:45 +01:00
Marcin Kuzminski
c193eff441
search-api: don't escape files exposed by the full-text-search API.
...
- we couldn't index special types of files because of that
2019-02-17 23:32:23 +01:00
Marcin Kuzminski
8a8dbab698
api: fixed unicode problems on get_node, and ensure no cached items are used if cache=false
2019-02-17 18:24:38 +01:00
Marcin Kuzminski
844d7374eb
database: dropped CheckConstraint for auto-increment field for mysql/mariadb compatability.
...
- https://mariadb.com/kb/en/library/constraint/#auto_increment
- causes installation error on later MariaDB/MySQL
2019-02-16 00:07:36 +01:00
Marcin Kuzminski
3871bc6f15
api: allow uncached content fetching.
...
- this is mostly to optimize for memory of indexer
2019-02-14 10:49:02 +01:00
Marcin Kuzminski
c333eacfc9
auth: simplified auth-token matching code.
2019-02-08 12:44:01 +01:00
Marcin Kuzminski
5b3d79ff52
scm: optimized get_nodes function.
...
- don't calculate size (it uses content which can be *big*) if it's not required.
2019-02-07 11:39:42 +01:00
Marcin Kuzminski
5b8a28d0eb
api: expose new functions for FTS
...
- vcs: added special md5 calculation that doesn't use content cache for more memory efficient md5 calculation.
2019-02-07 11:31:30 +01:00
Marcin Kuzminski
a1d69a8c7f
file-store: save DB entry on upload, and track access times.
2019-02-05 12:25:26 +01:00
Marcin Kuzminski
723799ca1d
artifacts: added DB store models.
2019-02-05 12:49:36 +01:00
Marcin Kuzminski
bd69124334
api: pull-requests get_all now sortes the results and have a flag to show/hide merge result state
2019-01-31 14:42:23 +01:00
Marcin Kuzminski
0a1ad8cca4
security: fix possible XSS in the issue tracker URL.
2019-01-29 14:55:54 +01:00
Marcin Kuzminski
f38e87b9b7
api: added function to fetch comments for a repository.
2019-01-28 12:05:34 +01:00
Marcin Kuzminski
6e8560f3a5
comments: expose a function to fetch unresolved TODOs for repository
2019-01-25 14:19:30 +01:00
Daniel Dourvaris
96fa4e0bdc
py3: remove usage of basestring
2019-01-22 23:06:49 +01:00
Daniel Dourvaris
796c235358
ui: introduce user-bookmarks for creation of quick shortcuts
2019-01-22 01:18:40 +01:00
Marcin Kuzminski
f91d1b0d32
remap-rescan: prevent empty/damaged repos to break the remap operation.
2019-01-18 17:21:29 +01:00
Marcin Kuzminski
efc39f31eb
events: trigger 'review_status_change' when reviewers are updated.
...
- small code refactoring
- extended commenting event with comment
- extended review_status_change event with new status
2019-01-18 13:16:34 +01:00
Marcin Kuzminski
8c7ec57205
auth-tokens: improve UI.
2019-01-16 11:08:38 +01:00
Marcin Kuzminski
0a7d8bb9ea
permissions: show user group count in permissions summary, and unified some text labels.
2019-01-14 20:19:59 +01:00
Marcin Kuzminski
3268256a7a
permissions: handle more cases for invalidating permission caches
...
- invalidate user permissions on chaning the global permissions
- invalidate all users in case of creating new object with "copy permissions" flag
- invalidate all users permissions in case of repo/repo group renames
- invalidate all user permissions in forked repo with copy flag
2019-01-14 20:19:25 +01:00
Daniel Dourvaris
f1d82af360
Files: preserve filemode on web edits.
2019-01-07 16:09:09 +01:00
Marcin Kuzminski
1e2a7a9136
pull-requests: introduce operation state for pull requests to prevent from
...
locks during merge/update operations.
2019-01-07 13:32:16 +01:00
Marcin Kuzminski
61e0b7b961
pull-requests: increase stability of concurrent pull requests creation by flushing prematurly the statuses of commits.
...
This is required to increase the versions on each concurrent call. Otherwise we could get into an integrity errors of commitsha+version+repo
2019-01-04 13:00:21 +01:00
Marcin Kuzminski
bd1a9c8201
docs: updated copyrights to 2019
2019-01-02 18:13:27 +01:00
Marcin Kuzminski
861720334b
release: merge back stable branch into default
2019-01-02 17:04:25 +01:00
Marcin Kuzminski
2d03f0346a
db: use explicit backref definition for sqlalchemy for code analytics not to report errors.
2019-01-01 23:01:35 +01:00
Daniel Dourvaris
599f9b7964
pull-requests: ensure merge response provide more details
...
- refactor merge responses with detailed messages
- fixes #5520
- code cleanups
2018-12-30 11:00:09 +01:00
Marcin Kuzminski
a755afe06e
models: ensure the set pull requests refs are valid and unicode.
2018-12-29 22:47:15 +01:00
Daniel Dourvaris
bd42c53c17
search: add support for elastic search 6
...
- elasticsearch new query lang and searcher
- much more advanced query lang
- added context aware search in repository groups, repository, commits, files view
- optimized quick search bar speed when using full text search
- added option to increase hits per file number from query URL using max_lines
- search results can be now marked inside a text file using ?mark=HIGHLIGHT_TEXT added to the url
2018-12-19 18:17:51 +01:00
Marcin Kuzminski
1d027eb16a
pull-requests: validate ref types for pull request so users cannot provide wrongs ones.
2018-12-13 22:02:46 +01:00
Marcin Kuzminski
50ae42bfdb
logging: show version at app startup for debugging.
2018-12-08 00:02:34 +01:00
Marcin Kuzminski
4719d0ff87
code: unified coverage notes to # pragma: no cover
2018-12-07 13:34:28 +01:00
Marcin Kuzminski
7857008183
notifications: use a set initially instead of list later converted to set.
2018-12-06 17:54:43 +01:00
Marcin Kuzminski
f3d3f479b4
code: fixed deprecated octal calls for py3 compat.
2018-11-30 11:49:27 +01:00
Marcin Kuzminski
64c5591c2e
authentication: allow setting extern type with registration.
...
- This will allow external identity plugins to define proper externs instead of always
using "rhodecode" one
2018-11-29 18:13:31 +01:00
Marcin Kuzminski
d244bd69f2
db-models: added some helpers for auth, and external identity code.
2018-11-28 13:40:34 +01:00
Marcin Kuzminski
0cc2c2c07d
code: code cleanups, use is None instead of == None.
2018-11-21 18:05:27 +01:00
Daniel Dourvaris
94d74336d1
diffs: introducing diff menu for whitespace toggle and context changes
2018-10-23 17:02:26 +02:00
Marcin Kuzminski
175a9b344e
rcextensions: new builtin rcextensions.
...
- ability to expose output to users from rcextensions
- new docs
- linking to the code makes the tests always check the integrity of rcextensions
- added new hook variables and described them to end users
2018-10-23 11:45:45 +02:00
Marcin Kuzminski
4da7905b37
vcs: use a real two part name for merge operation.
...
- expose settings into vcs_settings for easier override later
2018-10-01 13:54:51 +02:00