##// END OF EJS Templates
Update minified YUI to version 2.9 built from Source....
Update minified YUI to version 2.9 built from Source. yui.2.9.js used to be a minified version of YUI 2.9 until 5143b8df576c updated it to something else and applied more aggresive minification. We stick to a clean but minified version 2.9. The license of YUI is BSD 3-clause, as described on http://yuilibrary.com/license/ . Since the minified version combines with GPLv3'd Javascript, it is only GPLv3'd compliant to distribute this Object Code version with the Corresponding Source (or offer therefor). This yui.2.9.js is built from Source this way: git clone https://github.com/yui/builder git clone https://github.com/yui/yui2 cd yui2/ git checkout hudson-yui2-2800 ln -sf JumpToPageDropDown.js src/paginator/js/JumpToPageDropdown.js # work around inconsistent casing rm -f tmp.js for m in yahoo event dom connection animation dragdrop element datasource autocomplete container event-delegate json datatable paginator; do rm -f build/$m/$m.js; ( cd src/$m && ant build deploybuild ) && sed -e 's,@VERSION@,2.9.0,g' -e 's,@BUILD@,2800,g' build/$m/$m.js >> tmp.js done java -jar ../builder/componentbuild/lib/yuicompressor/yuicompressor-2.4.4.jar tmp.js -o yui.2.9.js The source is mirrored and available on https://kallithea-scm.org/repos/mirror .

File last commit:

r3797:d7488551 beta
r4131:31f510a8 rhodecode-2.2.5-gpl
Show More
test_journal.py
41 lines | 1.6 KiB | text/x-python | PythonLexer
implemented user dashboards, and following system.
r734 from rhodecode.tests import *
tests update
r875 from rhodecode.model.db import UserFollowing, User, Repository
from rhodecode.lib.helpers import get_token
fixed tests
r1021 import datetime
implemented user dashboards, and following system.
r734
fixed issue with public journal rss/atom feeds after journal filter implementation
r3075
implemented user dashboards, and following system.
r734 class TestJournalController(TestController):
def test_index(self):
tests update
r875 self.log_user()
implemented user dashboards, and following system.
r734 response = self.app.get(url(controller='journal', action='index'))
fixed tests
r1021
fixes issue #658, my account edit was missing this functionality
r3159 response.mustcontain("""<div class="journal_day">%s</div>""" % datetime.date.today())
tests update
r875
def test_stop_following_repository(self):
session = self.log_user()
synced vcs with upstream...
r3797 # usr = Session().query(User).filter(User.username == 'test_admin').one()
# repo = Session().query(Repository).filter(Repository.repo_name == HG_REPO).one()
tests update
r875 #
synced vcs with upstream...
r3797 # followings = Session().query(UserFollowing)\
tests update
r875 # .filter(UserFollowing.user == usr)\
# .filter(UserFollowing.follows_repository == repo).all()
#
# assert len(followings) == 1, 'Not following any repository'
#
# response = self.app.post(url(controller='journal',
# action='toggle_following'),
# {'auth_token':get_token(session),
# 'follows_repo_id':repo.repo_id})
def test_start_following_repository(self):
self.log_user()
response = self.app.get(url(controller='journal', action='index'),)
fixed issue with public journal rss/atom feeds after journal filter implementation
r3075 def test_public_journal_atom(self):
self.log_user()
response = self.app.get(url(controller='journal', action='public_journal_atom'),)
tests update
r875
fixed issue with public journal rss/atom feeds after journal filter implementation
r3075 def test_public_journal_rss(self):
self.log_user()
response = self.app.get(url(controller='journal', action='public_journal_rss'),)