- 15 May, 2012 3 commits
-
-
Richard Mansfield authored
Previously, if the last browserid auth instance fetched from the database had autocreate off, then other browserid authinstances with autocreate on never got a chance to create the user. This change lets all the browserid authinstances with autocreate on have a go at creating users, and tries "No Institution" first. Change-Id: I9cc0d666515dbfb527893d0f0e1e1abd520a3037 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
-
Hugh Davenport authored
When a user clicks on "BrowserID Login", one of three things will happen 1- If they have an account, they will login 2- If they don't but there is one authinstance with browserid is present AND it has weautocreateusers enabled, then they will get an account in that institution, and login 3- If none of the above is true, they will get redirected to a register page, which follows same self registration pattern as the internal authentication with the "confirm email" step removed. Change-Id: Idde3166e0664bf2acdc1da32271125e91d43af9c Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 14 May, 2012 7 commits
-
-
Hugh Davenport authored
* changes: Add a minaccept test for missing space in "){" Fix minaccept test for opening bracket following an if statement
-
Richard Mansfield authored
The coding standard check should catch if statements with a missing space between the condition and the next block, like "if (1){". Change-Id: Ia5066f793aa4d6449457de988eecfd47fcd4c495 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
The regex looking for lines of the form "if(..." is too slack, and fails perfectly fine function calls like "imagegif(...". Also, ensure that the elseif check doesn't match an elseif that's part of some longer word. Change-Id: I747af2867f8d3e8f31cabd50c1958e84ae0f63a8 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Hugh Davenport authored
-
Richard Mansfield authored
-
Richard Mansfield authored
-
Kristina Hoeppner authored
to delete superfluous words in the menu where they aren't necessary. Change-Id: Iaac0adc12aa14a5b86c8b6541173a3d06bd3eb90 Signed-off-by:
Kristina D.C. Hoeppner <kristina@catalyst.net.nz>
-
- 11 May, 2012 1 commit
-
-
Hugh Davenport authored
-
- 09 May, 2012 1 commit
-
-
Richard Mansfield authored
The pluralrule string is used to generate plural forms in javascript, so % signs should not be replaced. Using get_raw_string rather than get_string reads the string as-is, without running it through sprintf. Change-Id: I709b8ef623cdc4df24828866dc62dd229107ef60 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 07 May, 2012 3 commits
-
-
Richard Mansfield authored
-
Richard Mansfield authored
-
Richard Mansfield authored
When a new user registers for an institution that requires approval, allow the institutional admin assign staff permissions during the approval process, based on the user's (confirmed) email address. This is done by adding an 'extra' field to usr_registration containing serialised data, so that more user settings can be added to the approval form in future. Change-Id: Ie381f1341e43109340479f06f448ece11ebb561d Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 04 May, 2012 2 commits
-
-
Kristina Hoeppner authored
to account for partial running of cron. Change-Id: I3bd0a4de55408a4d4626de8cb6f85e72558056ed Signed-off-by:
Kristina D.C. Hoeppner <kristina@catalyst.net.nz>
-
Hugh Davenport authored
Replace it with a '-' character Change-Id: I92dff41a592748695c59582f69c00f000f555832 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 03 May, 2012 1 commit
-
-
Hugh Davenport authored
Change-Id: Id57f5df8aff6bdc89480acc1e99cd15dc2ac5bf5 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 02 May, 2012 1 commit
-
-
Richard Mansfield authored
* changes: Don't require reason for registering with weautocreate Split the registration form into js and form Move the registration form into a library function Remove email verification in registration with approval (bug #918431) Move registration reason field to register form (bug #918431)
-
- 01 May, 2012 3 commits
-
-
Hugh Davenport authored
Change-Id: Ic491cff6936a0a6ef3c0e8c3da14d4777a5bbc95 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
Richard Mansfield authored
* changes: Call pieform before smarty on the register page Apply element classes to description line in pieform table renderer.
-
Hugh Davenport authored
This allows us to alter the form definition directly before the pieform is created Change-Id: I3810d3dc4f30bc82dc567fad9338b76bc5296891 Signed-off-by:
Hugh Davenport <hugh@catalyst.net.nz>
-
- 30 Apr, 2012 3 commits
-
-
Richard Mansfield authored
This will allow other auth methods (such as browserid) to use the same form. Change-Id: I8325696c5162aa2db485de6fd72706617c09bdc1 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
When an institution requires approval before registration, treat the approval email as address verification. After filling in the registration form with an institution that requires approval, the user is simply asked to wait, rather than clicking on an email link to verify their email address. After approval, clicking on the link from the approval email both verifies the email & creates the account. Change-Id: I43c28510665b6f2bf9302099b6bd294a3715a85d Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
Also indicates which institutions require confirmation, and hides the reason field for those that don't. Change-Id: I81cfa60332c921e6818e0d9329ee8319d5ea8d6c Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 27 Apr, 2012 4 commits
-
-
Richard Mansfield authored
-
Richard Mansfield authored
-
Richard Mansfield authored
This currently has no effect, but if we want to add a pieform element that needs javascript to the registration form, this will allow the element's javascript to be included on the page. Change-Id: Ib9a5fc2848c21ef80e9bcd83fc8ad4527919f73f Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
The pieforms 'table' renderer applies classes supplied in the configuration to the title row, but not to the description row. It's useful to add the class to the description row as well, so that you can for example, hide both the title and description at once using javascript. Change-Id: Ie3e0ff413353d39548e9daeab6670d32c7625b5f Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 26 Apr, 2012 3 commits
-
-
Son Nguyen authored
+ Add text description: "Between 1 and 100" in configuration of 'watchlist', 'recent journal entries', and 'tagged journal entries' + Add rule for checking the number of items to be displayed min=1, max=100 Change-Id: Ia1016bc1cd084c855b16b7264136e83bc7a6959f Signed-off-by:
Son Nguyen <son.nguyen@catalyst.net.nz>
-
Hugh Davenport authored
-
Richard Mansfield authored
We have just committed to master a database upgrade with a version number less than the current version number of the 1.5 branch. This means that an upgrade from the current 1.5 to master will not add the safeiframe tables. This patch changes the version number on master to ensure the upgrade is applied. This occurred because the 1.5_STABLE branch's version leapfrogged over the master version during the release candidate stage. This will be fixed in the release script (see bug #988682). Change-Id: Ic2929fa9f17719a6068494ab63e7f00558c2fdcc Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 25 Apr, 2012 2 commits
-
-
Hugh Davenport authored
-
Richard Mansfield authored
* changes: Add voki.com to the list of allowed iframe sources Hide URL-processing mediasources when iframe output is not allowed Use htmlpurifier in external media block (bug #971289) Remove unused function and debugging from voki mediasources Admin page to manage SafeIframe sites (bug #971282) Move the list of safe iframe sources to the database (bug #971282)
-
- 24 Apr, 2012 2 commits
-
-
Richard Mansfield authored
Because iframe code generated in the external media block is now filtered by htmlpurifier, voki.com should be added to the default list of safe iframe sources. Change-Id: I60e8a0312d8a940b7e74baeb58fd73e6088a0b84 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Richard Mansfield authored
The various mediasource icons in the external media block should not be displayed when their output will be stripped by htmlpurifier. Change-Id: I1ecfd3865b0063055c3c3b1bd66bb90cab317931 Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
- 20 Apr, 2012 2 commits
-
-
Richard Mansfield authored
In MySQL, the collation for string literals in SQL expressions is defined by the connection collation, which can be different from the column collations inside the database. When comparing string literals to values selected from the database, this can result in an "Illegal mix of collations" error, even if both the connection and the database use the same character set. Mahara already requires the column and connection character sets to be utf8, but doesn't care about the collations, so we can fix this with the MySQL "SET CHARACTER SET" statement, which sets the connection collation to match the database collation. Change-Id: Ied6fcf7062fae5aa315a43ec9ce80883e6ef5b2e Signed-off-by:
Richard Mansfield <richard.mansfield@catalyst.net.nz>
-
Hugh Davenport authored
-
- 19 Apr, 2012 1 commit
-
-
Hugh Davenport authored
-
- 15 Apr, 2012 1 commit
-
-
Son Nguyen authored
In small headers mode, the breadcrumbs should be visible at all time. Change-Id: Icca3254d19949d88f74256a7177745c0c278ccc4 Signed-off-by:
Son Nguyen <ngson2000@yahoo.com>
-