Changeset 12997 for main/waeup.kofa/trunk/src/waeup
- Timestamp:
- 23 May 2015, 22:37:39 (10 years ago)
- Location:
- main/waeup.kofa/trunk/src/waeup/kofa
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/students/interfaces.py
r12902 r12997 72 72 class IStudentsUtils(Interface): 73 73 """A collection of methods which are subject to customization. 74 75 74 """ 76 75 def setReturningData(student): … … 144 143 class IStudentsContainer(IKofaObject): 145 144 """A students container contains university students. 146 147 145 """ 148 146 def addStudent(student): 149 147 """Add an IStudent object and subcontainers. 150 151 148 """ 152 149 … … 185 182 class IStudentNavigation(IStudentNavigationBase): 186 183 """Interface needed for student navigation, logging, etc. 187 188 184 """ 189 185 student = Attribute('Student object of context.') … … 196 192 class IStudentBase(IKofaObject): 197 193 """Representation of student base data. 198 199 """ 200 history = Attribute('Object history, a list of messages') 201 state = Attribute('Returns the registration state of a student') 202 password = Attribute('Encrypted password of a student') 194 """ 195 password = Attribute('Encrypted password') 203 196 temp_password = Attribute( 204 197 'Dictionary with user name, timestamp and encrypted password') 205 certcode = Attribute('The certificate code of any chosen study course') 206 depcode = Attribute('The department code of any chosen study course') 207 faccode = Attribute('The faculty code of any chosen study course') 208 entry_session = Attribute('The entry session of the student') 209 current_session = Attribute('The current session of the student') 210 current_level = Attribute('The current level of the student') 211 current_mode = Attribute('The current mode of the student') 212 current_verdict = Attribute('The current verdict of the student') 198 history = Attribute('Object history, a list of messages') 199 state = Attribute('Registration state') 200 certcode = Attribute('Certificate code of any chosen study course') 201 depcode = Attribute('Department code of any chosen study course') 202 faccode = Attribute('Faculty code of any chosen study course') 203 entry_session = Attribute('Entry session') 204 current_session = Attribute('Current session') 205 current_level = Attribute('Current level') 206 current_mode = Attribute('Current mode') 207 current_verdict = Attribute('Current verdict') 213 208 fullname = Attribute('All name parts separated by hyphens') 214 display_fullname = Attribute(' The fullname of an applicant')209 display_fullname = Attribute('Fullname as displayed on pages') 215 210 is_postgrad = Attribute('True if postgraduate student') 211 is_special_postgrad = Attribute('True if special postgraduate student') 212 is_fresh = Attribute('True if fresh student') 213 before_payment = Attribute('True if no previous payment has to be made') 214 personal_data_expired = Attribute('True if personal data expired') 215 transcript_enabled = Attribute('True if transcript processing is enabled') 216 216 217 217 suspended = schema.Bool( … … 286 286 ) 287 287 288 def writeLogMessage(view, message): 289 """Write formatted log message into student.log. 290 """ 291 288 292 def setTempPassword(user, password): 289 293 """Set a temporary password (LDAP-compatible) SSHA encoded for 290 294 officers. 291 292 295 """ 293 296 294 297 def getTempPassword(): 295 298 """Check if a temporary password has been set and if it 296 is not expired. 297 298 Return the temporary password if valid, 299 is not expired. Return the temporary password if valid, 299 300 None otherwise. Unset the temporary password if expired. 300 301 """ … … 303 304 current_level, current_verdict): 304 305 """ Creates a new studycourse and backups the old one. 305 306 """ 307 308 def revert_transfer(): 309 """ Revert previous transfer. 306 310 """ 307 311 308 312 class IUGStudentClearance(IKofaObject): 309 313 """Representation of undergraduate student clearance data. 310 311 314 """ 312 315 officer_comment = schema.Text( … … 383 386 class IStudentPersonalEdit(IStudentPersonal): 384 387 """Interface for editing personal data by students. 385 386 388 Here we can repeat the fields from IStudentPersonal and set the 387 389 `required` if necessary. … … 395 397 class IStudentUpdateByRegNo(IStudent): 396 398 """Representation of a student. Skip regular reg_number validation. 397 398 399 """ 399 400 reg_number = schema.TextLine( -
main/waeup.kofa/trunk/src/waeup/kofa/utils/batching.py
r12981 r12997 297 297 1. An empty row is skipped. 298 298 299 2. Empty strings in the row are replaced by ignore-markers. 299 2. Empty strings or lists (``[]``) in the row are replaced by 300 ignore markers. 300 301 301 302 3. The `BatchProcessor.checkConversion` method validates and converts
Note: See TracChangeset for help on using the changeset viewer.