Set the charset for all emulab pages to utf-8 which is needed to display foreign names correctly. Also added three rows to table_regex: tinytext_utf8, text_utf8, fulltext_utf8 Enhanced form_defs.php: - Add Support for Textarea - Add Support for a vertical list, for example see Category in submitpub.php - Add support for dumping the form values in plain text, used in the email I send to testbed-ops. - Change Error Reporting text for subfields such as in a list so they also include the text from the outer field, for example in newosid "ping" will become "OS Features, ping". I needed this since some of my subfields didn't have labels and it seamed like the right thing to do. - Set #return_value to 1 in FormRenderCheckBox if it not already specified - In FormRenderSelect, if the #value is not in the list add it to the end. - Add support for "display" type, to just display some text in the table - Possibly some other little things I forgot about. New site variable PUBSUPPORT. Implement FS#201: Provide users a way to add a paper that used Emulab see (https://users.emulab.net/flyspray/?do=details&id=201), summary of changes: - Controlled via the new site variable PUBSUPPORT. - The emulab_papers spread sheet is now frozen all new changes should be made using the new system. - New pages submitpub.php for users to submit a new publication with different views for admins and non-admins. - New page expubs.php to replace doc/expubs.html, lists publications in database. Also allows admins to edit publications. - Project members can edit papers associated with the project as long as they have local_root or higher privileges. Papers for a project are listed under a new tab in the showproject page. I keep track of the last person to edit the paper submission in addition to who initially submitted it. - Users can modify papers they submitted which is needed if the project was N/A. Papers users submitted now appear in a new tab in the showuser page. - Script to import spreadsheet to the database is in utah/bibliography/emulab_pubs-import.pl. - Changes web pages that point to doc/expubs.html to instead point to expubs.php
Showing
- configure 19 additions, 14 deletionsconfigure
- configure.in 2 additions, 0 deletionsconfigure.in
- defs-default 1 addition, 0 deletionsdefs-default
- sql/database-fill.sql 37 additions, 0 deletionssql/database-fill.sql
- sql/database-migrate.txt 5 additions, 0 deletionssql/database-migrate.txt
- sql/emulab_pubs.sql 73 additions, 0 deletionssql/emulab_pubs.sql
- www/defs.php3.in 1 addition, 0 deletionswww/defs.php3.in
- www/doc/docwrapper.php3 5 additions, 0 deletionswww/doc/docwrapper.php3
- www/doc/expubs.html 7 additions, 534 deletionswww/doc/expubs.html
- www/doc/users.html 3 additions, 2 deletionswww/doc/users.html
- www/expubs.php 80 additions, 0 deletionswww/expubs.php
- www/form_defs.php 171 additions, 26 deletionswww/form_defs.php
- www/index.php3 1 addition, 1 deletionwww/index.php3
- www/menu.php3 1 addition, 0 deletionswww/menu.php3
- www/policies.html 1 addition, 1 deletionwww/policies.html
- www/pub_defs.php 101 additions, 0 deletionswww/pub_defs.php
- www/showproject.php3 22 additions, 0 deletionswww/showproject.php3
- www/showuser.php3 27 additions, 0 deletionswww/showuser.php3
- www/submitpub.php 537 additions, 0 deletionswww/submitpub.php
- www/url_defs.php 1 addition, 0 deletionswww/url_defs.php
Loading
Please register or sign in to comment