Management pages
The following management pages exist. These should all be decorated with @auth.requires_membership(role='XXXX')
in controllers/manage.py, where XXXX is a role such as manager
. By OZ convention, pages which require manager
access (the highest level of access) are named using CAPS.
The URL of the current management index page (this page) is {{=URL(host=True)}}, in case you need a link.
Pages for translators
- Localization pages (of the form OneZoom/edit_language/XX)
- These allow logged in users in the
translator
group to add translations. At the moment you need to add the language after the pagename, for example {{=URL('edit_language', args='fr')}}.
Pages for managers
- Validate new sponsor texts
- By default this will only show up rows in the reservations table that have sale_time != None and have something set in verified_time or verified_kind or verified_name or verified_more_info or verified_preferred_image
- Find a URL for sponsor renewal pages
- This will return the HMAC key for a username or email, giving access to the private donor page
- Useful list of sponsor emails
- shows sponsorships listed by validated_time, useful e.g. to paste into an email client
- Summary of total donations by each sponsor
- To look at our high-value donors
- List of species images on the server
- Many thousands of images, so this is paged. Images are listed in quality order: public domain images have a green border. Use this link to just show the PD ones.
- Show sponsored images, highlighting public domain ones in green
- This page is also available to users, but the highlight PD function is not made easily accessible
- Set prices for all taxa
- The takes the pre-calculated popularity measures and bands them into price bands
- Generate a new tree
- This will take some time (e.g. 2 hours) to run, and should be do this on the beta server first, then moved to the OZlife_oldformat_file.
it will create a lock file so that you can't run parallel copies.
- REIMPORT ORDERED_LEAVES & NODES, etc
- WARNING: this takes a long time to create MYSQL format csv files for import, deletes the contents of the existing database tables leaves_in_unsponsored_tree, ordered_leaves, and ordered_nodes, and may not update them properly!. Use sparingly
- Test the EoL API
- To test the code used for leaf sponsorship (e.g. in static/OZSponsor/EOLqueries.js)
- Fake a paypal post to a test page
- This is purely for testing
Pages for admins
- Web2py admin
- Examine and manage databases, etc. Can also edit server files.