aboutsummaryrefslogtreecommitdiff
path: root/rhodecode/model/db.py
AgeCommit message (Collapse)Author
2013-03-29fixed issues with importing non-ascii repo namesMarcin Kuzminski
--HG-- branch : beta
2013-03-28Don't catch all exceptionsMarcin Kuzminski
--HG-- branch : beta
2013-03-28follow Python conventions for boolean valuesMads Kiilerich
True and False might be singletons and the "default" values for "boolean" expressions, but "all" values in Python has a boolean value and should be evaluated as such. Checking with 'is True' and 'is False' is thus confusing, error prone and unnessarily complex. If we anywhere rely and nullable boolean fields from the database layer and don't want the null value to be treated as False then we should check explicitly for null with 'is None'. --HG-- branch : beta
2013-03-26invalidation: some documentation and refactoringMads Kiilerich
--HG-- branch : beta
2013-03-26breadcrumbs: make repo names link to summary pagesMads Kiilerich
--HG-- branch : beta
2013-03-24Switched handling of RhodeCode extra params in consistent wayMarcin Kuzminski
- use only os.environ for both hg and git - hacking ui objects was bad - os.environ allows easier to call rhodecode hooks externally --HG-- branch : beta
2013-03-20Describe top level groups as 'top level' instead of 'no parent'Mads Kiilerich
--HG-- branch : beta extra : transplant_source : %5B1%1F%CF%7E%D7uf%9F%F9%C2l%848%3C%1CAA%E5%99
2013-03-19no_cache version of scm is now a functionMarcin Kuzminski
--HG-- branch : beta
2013-03-07get_locks API function draftMarcin Kuzminski
--HG-- branch : beta
2013-03-06fixed some unicode problems with archive downloadsMarcin Kuzminski
--HG-- branch : beta
2013-03-06Moved inject ui into base vcs classeMarcin Kuzminski
--HG-- branch : beta
2013-03-06codecleanerMarcin Kuzminski
--HG-- branch : beta
2013-03-06fixed issue with renaming repos group together with changing parents with ↵Marcin Kuzminski
multiple nested trees added regresion tests for such cases --HG-- branch : beta
2013-03-05calling lock function without lock attribute, will return lock stateMarcin Kuzminski
--HG-- branch : beta
2013-03-01Update changeset cache should use non-cache version of repo if given ↵Marcin Kuzminski
attribute is empty, it's easier to controll how changesets are udpated The quick update logic in base controller get's cached version and updates, while any other call will use non-cached version --HG-- branch : beta
2013-02-27further cleanup of UsersGroupMads Kiilerich
Renaming some names ... but trying not to change API or database scheme. --HG-- branch : beta extra : amend_source : 0158273b2595748ad5ce7604dce7e2c0c97870ba
2013-02-27follow-up on texts missing from 'users groups'/'repositories group' cleanupMads Kiilerich
--HG-- branch : beta
2013-02-14fixes #762, LDAP and container created users are now activated based onMarcin Kuzminski
the registration settings in permissions --HG-- branch : beta extra : amend_source : 6cb5e7460dc985ee56897cd6ea45fe9de7684ea9
2013-02-12mysql indexed keys cannot be larger thatn 256 chars, but 250 is enough for ↵Marcin Kuzminski
this purpose --HG-- branch : beta
2013-01-30repository extra fields implementationMarcin Kuzminski
- verion bump to 1.6 - migrations --HG-- branch : beta extra : rebase_source : f19a8a510936fb6b71e1198db13708ab3c45cdaa
2013-01-31git hook handler shouldn't ever use cache instancesMarcin Kuzminski
- moved cache invalidation into finally block so we invalidate at latest possible stage - added scm_instance_no_cache property to get non cached scm instances always --HG-- branch : beta
2013-01-30laste_review status should only return if there are any statusesMarcin Kuzminski
--HG-- branch : beta
2013-01-30coding style: fix trailing and leading spaces and tabsMads Kiilerich
--HG-- branch : beta extra : transplant_source : %86%25%CE%C0%E4M%98%EC-%97%CD%8B%9E%8C%96U_%CD%5E%9D
2013-01-30Add new attr to pull requestMarcin Kuzminski
--HG-- branch : beta
2013-01-28implemented #83 show repo size on summary pageMarcin Kuzminski
--HG-- branch : beta extra : amend_source : 2e4752b1aed585bc4a52f278d62e933638002256
2013-01-28filter out repo groups choices to only ones that you have write+ access to. ↵Marcin Kuzminski
Before it was read+ access and you got proper error saying that you don't have write permissions to group to create repo in. Filtering out the read groups is less confusing for users. ref #730 --HG-- branch : beta
2013-01-26Return a list of invlidated keys on mark_for_invalidation funcMarcin Kuzminski
- log.debug list of invalidated keys --HG-- branch : beta
2013-01-25fixes for issue #731, update-repoinfo sometimes failed to update data when ↵Marcin Kuzminski
changesets were initial commits --HG-- branch : beta
2013-01-25update repo-info shouldn't allow setting empty values NEVER !Marcin Kuzminski
--HG-- branch : beta
2013-01-25Group management delegation:Marcin Kuzminski
this allows users to become an admin of groups a group admin can manage a group, change it's name or permissions. A group admin can create child group only within a group he is an admin off. Top-level group can be only created by super admins --HG-- branch : beta
2013-01-23IP restrictions now also enabled for IPv6Marcin Kuzminski
--HG-- branch : beta
2013-01-21improved extraction of user from changeset when sending notification.Marcin Kuzminski
Fallback to repo owner if we cannot get the user --HG-- branch : beta extra : amend_source : d55aa77b41ea3e7b8e5cb8a3a267ca320a1cff1b
2013-01-19added last_changeset information in get_repo API functionMarcin Kuzminski
--HG-- branch : beta
2013-01-18implemented #725 Pull Request View - Show origin repo URLMarcin Kuzminski
--HG-- branch : beta extra : amend_source : 329e7a6f060147bf11fa406382bfa9d21b678ffd
2013-01-08fixed issues with getting repos by path on windowsMarcin Kuzminski
--HG-- branch : beta extra : rebase_source : 44692bd7afd0c19660b7d4dfb6eab74a02c7c99b
2013-01-05Added full last changeset info to lightweight dashboarddevMarcin Kuzminski
--HG-- branch : beta
2013-01-04Full IP restrictions enabledMarcin Kuzminski
- short cache query for IP for performance - remove redundant logic - some small css fixes for login form to better show IP restricted message --HG-- branch : beta extra : amend_source : bec698601fe590964ad80b3fb12c0e3385c2c6c4
2012-12-31add ipaddresses to repo data on API callsMarcin Kuzminski
--HG-- branch : beta
2012-12-30Added UserIpMap interface for allowed IP addresses and IP restriction accessMarcin Kuzminski
ref #264 IP restriction for users and user groups --HG-- branch : beta extra : amend_source : b1cad1d9ff6ef50b570689dacec7902a8909895b
2012-12-17Default parameters are now also used for creating repos using API calls, and ↵Marcin Kuzminski
initial repo scanner - added new parameters to API call to override defaults - docs update - repo_type is now optional as it's a part of defaults --HG-- branch : beta
2012-12-06fixed issue with cascade deleting of following entriesMarcin Kuzminski
--HG-- branch : beta
2012-12-06remove not null from user_id column for users log archivingMarcin Kuzminski
--HG-- branch : beta
2012-12-05Implemented better support for Wildcard queriesMarcin Kuzminski
add username column to journal for caching logs after user deletion added tests for admin journal migrations --HG-- branch : beta extra : amend_source : 9a26263147c2be6eb4505259293dc8059f7d5304
2012-12-03Implemented #379 defaults settings page for creation of repositoriesMarcin Kuzminski
- locking - statistics, downloads - repository type --HG-- branch : beta
2012-11-30implemented #663 Admin/permission: specify default repogroup permsMarcin Kuzminski
- added migration that adds new default permission for groups - merged with patch from Vincent Caron --HG-- branch : beta
2012-11-24Added option to ini files for controlling full cache of VCS instances.Marcin Kuzminski
This can increase performance for huge repositories like 300K changesets --HG-- branch : beta
2012-11-24Cleanup leftover print statementsMarcin Kuzminski
--HG-- branch : beta
2012-11-23Cleaned the way cache keys are invalidatedMarcin Kuzminski
should fix issue #504 RhodeCode is showing different versions of README on different summary page loads --HG-- branch : beta extra : amend_source : 1f1e07e4fac13a89c1214792d4da325bdc3d5a3d
2012-11-23added caching layer into RSS/ATOM feedsMarcin Kuzminski
- updated code for new LimitedDiffContainers - invalidate rss/atom cache keys on push - --HG-- branch : beta
2012-11-04remove duplicated code for generating UI objectsMarcin Kuzminski
--HG-- branch : beta