The degrees of freedom include
- whether the project is vetted, has an ID an therefore can use autoattach
- whether the user already has an account
- whether the user is logged in
Account creation can now be done through the web in all cases,
rather than "new user" in the BOINC manager.
- sample index.php now directs new users to Join page,
where they create an account.
- download.php now works for both vetted and non-vetted projects;
in the non-vetted case direct them to BOINC and give instructions
- prefs.php defaults to subset global
- Add a new "welcome" page, welcome.php
New users in the autoattach case end up here.
It tells them basic stuff about what to expect and what they can do.
- if logged in, suggest recruiting friends and running on other devices
- move project description to a separate file
(html/project/project_description.php").
The eliminates the need to customize index.php
- make download page translatable
- change sample_index.php to show different things to:
new users: show project intro, Join link
returning users: show recent credit, link to home page
- add signup page: streamlined registration, goes to download
In bootstrap.inc there are some functions for creating forms.
They conceal Bootstrap (and HTML itself) from the caller.
I changed a couple of forms (edit user into and create account) to use this API.
There are many other forms that we could change as well.
This is how I'd like the PHP code to evolve:
encapsulate HTML in utility functions.
We have this for tables, forms, and header/footer.
Also finish the NO_COMPUTING changes.
Also: on default home page, don't show the big green Join button
if the user is logged in; they're presumably running BOINC
on at least one computer.
However, in this case put a Join item in the Project menu
in case this is a new computer and they forgot where to download from.
- change default home page to replace text with a Join button,
which links to a new page saying how to join.
- change default to show image to top of home page
- add form-control class to all <select>s so that text displays
correctly with dark-background themes
- change args to page_head():
- add $is_main; gets passed to project_banner()
- remove $title_plain; not sure what it was for
- add arg for inverse navbar
- fix "jump to first unread post" feature
- use <pre> for bbcode [code]
- don't use table-responsive class for tables.
It does bad/funky things, especially on small displays
- remove start_table_noborder()
Modern Browser complain if there are non-https elements in https websites. This makes sure that if the user visits via https all elements of the page are also retrieved using SSL. Furthermore it uses https urls in emails that are send to the user, if SECURE_URL_BASE is set in project/project.inc.
The only remaining places where URL_BASE is used is when it is used as master_url where it is important that it is in sync with what the scheduler uses.
Do this by putting
define("DISABLE_FORUMS", true);
in your html/project/project.inc.
If this is set, admin users can still see enough forum functionality
to post and edit news items
(this is linked to from the Admin web interface).
Other users, or non-logged-in access, sees news but no forums
or forum-related info.
- Correctly enforce the following config options:
<disable_account_creation>
<disable_account_creation_rpc>
<no_web_account_creation>
- On the project front page, if account creation is disabled, say so.
- on other pages, if account creation is disabled,
don't show a "create account link"
remove funky "log out" link from user page
- web: go to home page on logout,
not dorky "you are logged out" page
svn path=/trunk/boinc/; revision=23387
create the needed dirs under the slot dir
- user web: pages with translatable text should not be cached.
Fix this for home page; there are some others
svn path=/trunk/boinc/; revision=23019
Remove funky file-writing stuff - just use caching.
fixes#913
- web: include link to server status page on sample front page
svn path=/trunk/boinc/; revision=22361
Old: in a flat file (html/project/project_news.inc)
New: in a forum (called "News" by default)
The script html/ops/news_convert.php copies news from
old to new format.
You'll also need to edit your index.php and use
"show_news(0, 5)" to show news.
- web: added a "message of the day" mechanism.
Edit html/user/motd.php to show a message.
This will be shown as the first news item,
but it's not archived (i.e., it's not a forum post)
svn path=/trunk/boinc/; revision=19949
- web: divide the stylesheet into "main.css"
(which has formatting stuff, rounded corners etc.)
and "white.css" (which has colors).
The above two from Simek.
- scheduler: change default min NVIDIA driver version
from 17500 to 17700
svn path=/trunk/boinc/; revision=17819
cause new projects to report an error when they first
attempt to start up.
- tools: Add the missing x86_64-apple-darwin platform type
used for 64-bit Mac OS X applications. I used the
description from the alpha project.
- MGR: delete obselete make files.
clientgui/
Makefile.linux.fedora
Makefile.linux.suse
Makefile.linux.ubuntu
html/user/
sample_index.php
tools/
project.xml
svn path=/trunk/boinc/; revision=15906
"HTML 4.01 Transitional" test.
The BOINC home page, project home page, and forum index now pass.
- web: .po files need to have CHARSET, LANG_NAME_NATIVE,
and LANG_NAME_INTERNATIONAL
svn path=/trunk/boinc/; revision=15855