Changeset 11398 for main/waeup.futminna
- Timestamp:
- 24 Feb 2014, 08:47:15 (11 years ago)
- Location:
- main/waeup.futminna/trunk
- Files:
-
- 16 added
- 9 deleted
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.futminna/trunk
- Property svn:ignore
-
old new 5 5 develop-eggs 6 6 parts 7 sources 7 8 var
-
- Property svn:ignore
-
main/waeup.futminna/trunk/CHANGES.txt
r7825 r11398 2 2 ******* 3 3 4 0.2 (unreleased) 4 1.0.1dev (unreleased) 5 ===================== 6 7 * No changes yet. 8 9 1.0 (2014-02-24) 5 10 ================ 6 11 7 Feature changes 8 --------------- 12 * Diazofied whole package. 9 13 10 * Started switch to groktoolkit (grok 1.1) based 11 application. `waeup.kofa` is not compatible with grok 1.0 anymore. 14 * Removed sphinx docs. 12 15 13 * Added first rudimentary support for application plugins. Plugins are 14 looked up by the main app on creation time and created afterwards. 15 16 * Added first rudimentary support for RSS2.0 feeds. 17 18 * Generated filenames now have a filename extension that indicates 19 mode of processing. So fred.csv becomes fred.create.pending.csv when 20 being batch processed and something fails. 21 22 * Coverage reports are now generated in ``coverage-report`` subdir of 23 build-directory. 24 25 Bug fixes 26 --------- 27 28 * Removed all references to stuff in university submodule into the 29 module itself or replaced it with proper code. This way the 30 university submodule could be factored out of the waeup.kofa 31 package. Fixed bug #23. 32 33 * Fixed default obj updater in batchprocessing. Fixed bug #17. 34 35 * Fixed handling of pending file names, fixed bug #16. 36 37 * Removed quick importer and all related components. 38 39 * Removed TestData folder. It was too heavy and test data can be 40 created on-the-fly. 16 * Added generic install instructions. 41 17 42 18 … … 44 20 ================ 45 21 46 Initial version. (Incomplete) rewrite from the former CPS-based 47 application. 22 Initial version. -
main/waeup.futminna/trunk/README.txt
r7825 r11398 1 What is `waeup.kofa`? 2 ************** *******1 waeup.futminna 2 ************** 3 3 4 The WAeUP Student Information and Registration Portal. `waeup.kofa` is 5 a web-based management tool for managing universities and schools.4 `waeup.futminna` is a Python package providing a student information 5 portal based on WAeUP Kofa. 6 6 7 The package was created as an effort of the WAeUP group. See 8 http://www.waeup.org to learn more about WAeUP. 7 This is a customized version of Kofa for FUTMinna purposes. 9 8 10 Installation instructions can be found in the User Documentation (docs folder in the file system).9 For generic install instructions please see INSTALL.txt. -
main/waeup.futminna/trunk/buildout-zeo.cfg
r9885 r11398 13 13 site_zcml 14 14 zdaemon_conf 15 deploy_ini 16 debug_ini 15 raw_deploy_ini 16 raw_debug_ini 17 themed_deploy_ini 18 themed_debug_ini 17 19 profile_ini 18 20 zeo1_ini 19 21 zeo2_ini 20 waeupdocs21 22 coverage-detect 22 23 coverage-report 23 24 # kofactl creation must be _after_ app! 24 25 kofactl 26 lxml 27 diazo 25 28 # For backward compatibility, telling buildout not to throw away 26 29 # the data and log subdirectories from the parts directory. … … 44 47 address ${kofa_params:server_port} 45 48 </zeo> 46 47 49 <blobstorage 1> 48 50 blob-dir ${zope_conf:blobstorage} … … 51 53 </filestorage> 52 54 </blobstorage> 53 54 55 <filestorage async> 55 56 path ${zope_conf:filestorage}/Data.async.fs 56 57 </filestorage> 57 58 58 <eventlog> 59 59 # This sets up logging to a file. … … 96 96 [zeo1_ini] 97 97 recipe = collective.recipe.template 98 input = etc/ zeo1.ini.in99 output = ${buildout:parts-directory}/etc/ zeo1.ini98 input = etc/themed/zeo1.ini.in 99 output = ${buildout:parts-directory}/etc/themed-zeo1.ini 100 100 101 101 [zeo2_ini] 102 102 recipe = collective.recipe.template 103 input = etc/ zeo2.ini.in104 output = ${buildout:parts-directory}/etc/ zeo2.ini103 input = etc/themed/zeo2.ini.in 104 output = ${buildout:parts-directory}/etc/themed-zeo2.ini 105 105 106 106 [zeo1_conf] … … 118 118 # See http://pypi.python.org/pypi/zc.recipe.egg for details... 119 119 recipe = zc.recipe.egg 120 eggs = waeup.futminna [beaker ]120 eggs = waeup.futminna [beaker, diazo] 121 121 arguments = "${buildout:parts-directory}/etc/zeo1.conf" 122 122 scripts = kofactl=zeo_client1 … … 125 125 # See http://pypi.python.org/pypi/zc.recipe.egg for details... 126 126 recipe = zc.recipe.egg 127 eggs = waeup.futminna [beaker ]127 eggs = waeup.futminna [beaker, diazo] 128 128 arguments = "${buildout:parts-directory}/etc/zeo2.conf" 129 129 scripts = kofactl=zeo_client2 -
main/waeup.futminna/trunk/buildout.cfg
r10141 r11398 18 18 site_zcml 19 19 zdaemon_conf 20 deploy_ini 21 debug_ini 20 raw_deploy_ini 21 raw_debug_ini 22 themed_deploy_ini 23 themed_debug_ini 22 24 profile_ini 23 waeupdocs24 25 coverage-detect 25 26 coverage-report 26 27 # kofactl creation must be _after_ app! 27 28 kofactl 29 lxml 30 diazo 28 31 # For backward compatibility, telling buildout not to throw away 29 32 # the data and log subdirectories from the parts directory. … … 62 65 # number of preopened paster threads, default 10 63 66 threadpool_workers = 10 67 devel_pkg = waeup.futminna 64 68 65 69 [app] 66 70 # This creates all scripts in bin/. The kofactl created here is 'faulty'. 67 71 recipe = zc.recipe.egg 68 eggs = waeup.futminna [beaker ]72 eggs = waeup.futminna [beaker, diazo] 69 73 z3c.evalexception>=2.0 70 74 Paste … … 80 84 # fixed path to zdaemon.conf as argument. 81 85 recipe = zc.recipe.egg 82 eggs = waeup.futminna [beaker ]86 eggs = waeup.futminna [beaker, diazo] 83 87 arguments = "${buildout:parts-directory}/etc/zdaemon.conf" 84 88 scripts = kofactl=kofactl … … 146 150 output = ${buildout:parts-directory}/etc/zdaemon.conf 147 151 148 [deploy_ini] 149 recipe = collective.recipe.template 150 input = etc/deploy.ini.in 151 output = ${buildout:parts-directory}/etc/deploy.ini 152 153 [debug_ini] 154 recipe = collective.recipe.template 155 input = etc/debug.ini.in 156 output = ${buildout:parts-directory}/etc/debug.ini 152 [raw_debug_ini] 153 recipe = collective.recipe.template 154 input = etc/raw/debug.ini.in 155 output = ${buildout:parts-directory}/etc/raw-debug.ini 156 157 [raw_deploy_ini] 158 recipe = collective.recipe.template 159 input = etc/raw/deploy.ini.in 160 output = ${buildout:parts-directory}/etc/raw-deploy.ini 161 162 [themed_debug_ini] 163 recipe = collective.recipe.template 164 input = etc/themed/debug.ini.in 165 output = ${buildout:parts-directory}/etc/themed-debug.ini 166 167 [themed_deploy_ini] 168 recipe = collective.recipe.template 169 input = etc/themed/deploy.ini.in 170 output = ${buildout:parts-directory}/etc/themed-deploy.ini 157 171 158 172 [profile_ini] … … 165 179 eggs = grok 166 180 url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz 167 168 [waeupdocs]169 recipe = collective.recipe.sphinxbuilder170 eggs = waeup.futminna[docs]171 source = ${buildout:directory}/docs/source172 build = ${buildout:directory}/docs/build173 181 174 182 # Collect test coverage data. … … 186 194 scripts = coveragereport 187 195 arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') 196 197 [lxml] 198 recipe = z3c.recipe.staticlxml 199 egg = lxml 200 201 [diazo] 202 recipe = zc.recipe.egg 203 eggs = 204 diazo [wsgi] 205 PasteScript 206 waeup.futminna [beaker, diazo] -
main/waeup.futminna/trunk/etc/zdaemon.conf.in
r8832 r11398 1 1 <runner> 2 program ${buildout:directory}/bin/paster serve ${buildout:directory}/parts/etc/ deploy.ini2 program ${buildout:directory}/bin/paster serve ${buildout:directory}/parts/etc/themed-deploy.ini 3 3 daemon on 4 4 transcript ${zope_conf:logfiles}/zdaemon.log -
main/waeup.futminna/trunk/etc/zeo1.conf.in
r8507 r11398 1 1 <runner> 2 program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo 1.pid ${buildout:directory}/parts/etc/zeo1.ini2 program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo2.pid ${buildout:directory}/parts/etc/themed-zeo2.ini 3 3 daemon on 4 transcript ${zope_conf:logfiles}/zdaemon-zeo 1.log5 socket-name ${zope_conf:logfiles}/zeo 1.sock4 transcript ${zope_conf:logfiles}/zdaemon-zeo2.log 5 socket-name ${zope_conf:logfiles}/zeo2.sock 6 6 # Enable this to run the child process as a different user 7 user kofa7 # user kofa 8 8 </runner> -
main/waeup.futminna/trunk/etc/zeo2.conf.in
r8507 r11398 1 1 <runner> 2 program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo2.pid ${buildout:directory}/parts/etc/ zeo2.ini2 program ${buildout:directory}/bin/paster serve --pid-file ${buildout:directory}/var/zeo2.pid ${buildout:directory}/parts/etc/themed-zeo2.ini 3 3 daemon on 4 4 transcript ${zope_conf:logfiles}/zdaemon-zeo2.log 5 5 socket-name ${zope_conf:logfiles}/zeo2.sock 6 6 # Enable this to run the child process as a different user 7 user kofa7 # user kofa 8 8 </runner> -
main/waeup.futminna/trunk/setup.py
r9225 r11398 2 2 from setuptools import setup, find_packages 3 3 4 version = ' 0.1dev'4 version = '1.0dev' 5 5 6 6 install_requires =[ … … 9 9 'grokui.admin', 10 10 'grokcore.startup', 11 'waeup.kofa ',12 'kofacustom.nigeria ',11 'waeup.kofa >= 1.0', 12 'kofacustom.nigeria >= 1.0', 13 13 ], 14 14 … … 22 22 ] 23 23 24 diazo_require = [ 25 'diazo', 26 'webob', 27 ] 28 24 29 tests_require = [ 25 30 'z3c.testsetup', … … 30 35 ] 31 36 32 docs_require = [33 'Sphinx',34 'collective.recipe.sphinxbuilder',35 'docutils',36 'roman',37 'repoze.sphinx.autointerface',38 ]39 40 37 def read(*rnames): 41 38 return open(os.path.join(os.path.dirname(__file__), *rnames)).read() … … 43 40 long_description = ( 44 41 read('README.txt') 45 + '\n\n'46 + read('src', 'waeup', 'futminna', 'README.txt')47 42 + '\n\n' 48 43 + read('CHANGES.txt') … … 84 79 extras_require = dict( 85 80 test = tests_require, 86 docs = docs_require,87 81 beaker = beaker_require, 82 diazo = diazo_require, 88 83 ), 89 84 entry_points=""" 90 # Add entry points here91 [hurry.resource.libraries]92 waeup_custom = waeup.futminna.browser.resources:waeup_custom93 85 [console_scripts] 94 86 kofa-debug = grokcore.startup:interactive_debug_prompt -
main/waeup.futminna/trunk/src/waeup/futminna/browser/tests.py
r8619 r11398 49 49 shutil.rmtree(self.dc_root) 50 50 51 def test_custom_theme(self):52 self.browser.addHeader('Authorization', 'Basic mgr:mgrpw')53 self.browser.open('http://localhost/app/configuration')54 self.assertMatches('...FUTMinna Theme...', self.browser.contents)55 self.browser.getControl(name="form.skin").value = ['custom theme']56 self.browser.getControl("Save").click()57 self.browser.open('http://localhost/app/configuration')58 return59 60 51 def test_access_live_url(self): 61 52 # We can't access the system with basic authentication -
main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser_templates/applicant_goto_interswitch.pt
r10165 r11398 72 72 <span tal:replace="structure view/xml_data"></span> 73 73 74 <input type="submit" class="btn " tal:attributes="value view/submit_button"/>74 <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/> 75 75 76 76 <br /><br /> 77 77 78 <img tal:attributes="src view/interswitch_img_url" />78 <img src="/static/img/interswitch_verve_mastercard.gif" /> 79 79 80 80 </form> -
main/waeup.futminna/trunk/src/waeup/futminna/interswitch/browser_templates/student_goto_interswitch.pt
r9995 r11398 72 72 <span tal:replace="structure view/xml_data"></span> 73 73 74 <input type="submit" class="btn" tal:attributes="value view/submit_button"/> 74 <input type="submit" class="btn btn-primary" tal:attributes="value view/submit_button"/> 75 76 <br /><br /> 77 78 <img src="/static/img/interswitch_verve_mastercard.gif" /> 75 79 76 80 </form> -
main/waeup.futminna/trunk/versions.cfg
r10197 r11398 130 130 # dolmen.beaker==0.1 131 131 pycryptopp = 0.6.0.1206569328141510525648634803928199668821045408958 132 133 # Added by buildout at 2014-02-24 09:09:43.882599 134 WebOb = 1.3.1 135 diazo = 1.0.5 136 repoze.xmliter = 0.5 137 z3c.recipe.staticlxml = 0.10 138 139 # Required by: 140 # diazo==1.0.5 141 experimental.cssselect = 0.3 142 143 # Required by: 144 # diazo==1.0.5 145 # experimental.cssselect==0.3 146 lxml = 3.3.1 147 148 # Required by: 149 # z3c.recipe.staticlxml==0.10 150 zc.recipe.cmmi = 1.3.5
Note: See TracChangeset for help on using the changeset viewer.