summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Andrew Engelbrecht [Mon, 15 May 2023 22:14:46 +0000 (18:14 -0400)]
cas attribute for discussion moderators
so we can give them access to the board forum before others
Andrew Engelbrecht [Mon, 15 May 2023 22:03:14 +0000 (18:03 -0400)]
spelling fix for a comment
Andrew Engelbrecht [Thu, 4 May 2023 20:21:01 +0000 (16:21 -0400)]
make start and end dates inclusive
Andrew Engelbrecht [Thu, 27 Apr 2023 21:15:04 +0000 (17:15 -0400)]
update customized footer copyright dates
Andrew Engelbrecht [Wed, 26 Apr 2023 18:46:35 +0000 (14:46 -0400)]
don't need redundant staff check for discussion
on the client side, it's best to rely upon checking both staff and board
discussion access conditions separately. this is so when discussion is
closed, staff can still access the site. in that case, baking staff
access into general access would be unnecessary, and potentially lead to
confusion.
Andrew Engelbrecht [Wed, 26 Apr 2023 17:39:53 +0000 (13:39 -0400)]
fixes for queries and variables in readme file
Andrew Engelbrecht [Wed, 26 Apr 2023 17:30:06 +0000 (13:30 -0400)]
better debug logs for board process access rules
Andrew Engelbrecht [Wed, 26 Apr 2023 17:05:42 +0000 (13:05 -0400)]
allow staff to access board forum
Andrew Engelbrecht [Tue, 25 Apr 2023 21:53:23 +0000 (17:53 -0400)]
adding some debug statments that i've been using
Andrew Engelbrecht [Tue, 25 Apr 2023 21:51:33 +0000 (17:51 -0400)]
make the cutoff donation amount a config variable
Andrew Engelbrecht [Tue, 25 Apr 2023 21:50:43 +0000 (17:50 -0400)]
remove redundant gift membership check
we don't need to check for gift memberships in particular in the given
time frame, because they're automatically included in the general
membership check for that time frame.
Andrew Engelbrecht [Tue, 25 Apr 2023 20:28:38 +0000 (16:28 -0400)]
an old membership is also valid for discussion
(along with a current membership)
Andrew Engelbrecht [Tue, 25 Apr 2023 19:28:32 +0000 (15:28 -0400)]
fixed references to undeclared / undefined vars
Andrew Engelbrecht [Tue, 25 Apr 2023 18:59:28 +0000 (14:59 -0400)]
flattened conditionals (for simpler logic)
Andrew Engelbrecht [Tue, 25 Apr 2023 18:43:40 +0000 (14:43 -0400)]
more specific debug output
Andrew Engelbrecht [Tue, 25 Apr 2023 18:43:33 +0000 (14:43 -0400)]
fix bug in date comparisons
Andrew Engelbrecht [Tue, 25 Apr 2023 18:43:18 +0000 (14:43 -0400)]
reorganizing config example
Andrew Engelbrecht [Tue, 25 Apr 2023 16:40:58 +0000 (12:40 -0400)]
check for discussion process access
Andrew Engelbrecht [Tue, 25 Apr 2023 16:39:57 +0000 (12:39 -0400)]
simplification for nomination process access
Andrew Engelbrecht [Mon, 24 Apr 2023 20:25:21 +0000 (16:25 -0400)]
use case-insensitive check for is_fsf_staff check
Andrew Engelbrecht [Mon, 24 Apr 2023 20:23:17 +0000 (16:23 -0400)]
option to disable nomination process status check
this allows us to skip some expensive checks if we're not currently
using them
Andrew Engelbrecht [Mon, 24 Apr 2023 20:21:23 +0000 (16:21 -0400)]
clean up, reorder logic for nomination process
this should run faster in most cases by making later queries not run if
the user is not a member
Andrew Engelbrecht [Thu, 5 Jan 2023 23:42:32 +0000 (18:42 -0500)]
Merge remote-tracking branch 'origin/master'
Andrew Engelbrecht [Thu, 5 Jan 2023 23:40:21 +0000 (18:40 -0500)]
Merge branch 'dev'
Deploying code for extended membership status checking
Andrew Engelbrecht [Thu, 5 Jan 2023 23:36:55 +0000 (18:36 -0500)]
updated bootstrap.inc from Drupal
Andrew Engelbrecht [Thu, 7 Jul 2022 22:19:51 +0000 (18:19 -0400)]
bump version date of upstream SSP release
Andrew Engelbrecht [Thu, 7 Jul 2022 22:19:51 +0000 (18:19 -0400)]
bump version date of upstream SSP release
Andrew Engelbrecht [Tue, 24 May 2022 16:31:26 +0000 (12:31 -0400)]
adhoc group access should not require membership
access via the the adhoc civi group should not require an associte
membership, because the civi group should be authoritative on its own.
this commit fixes that bug.
root [Thu, 28 Apr 2022 20:53:41 +0000 (16:53 -0400)]
added custom favicon to our ssp theme
root [Thu, 28 Apr 2022 20:53:41 +0000 (16:53 -0400)]
added custom favicon to our ssp theme
Andrew Engelbrecht [Wed, 27 Apr 2022 20:08:09 +0000 (16:08 -0400)]
analyze memberships that started before time frame
... and that continued into a given time frame. this way someone who
bought an annual membership 6.5 years ago will be considered a member as
of 5 years ago. donation are considred in isolation from each other, so
overlapping donations are not cumulative. we do calculate how much the
donation / membership would last based on the amount in a given donation
relative to the base monthly rate for associate and student associate
members.
Andrew Engelbrecht [Thu, 21 Apr 2022 14:34:25 +0000 (10:34 -0400)]
code cleanup (break apart long lines)
Andrew Engelbrecht [Wed, 20 Apr 2022 21:56:52 +0000 (17:56 -0400)]
test group memberhip for nomination_process attr
as a fallback criteria, being in an adhoc group and currently a member
allows for access to the candidate discussion forum
Andrew Engelbrecht [Wed, 20 Apr 2022 20:08:37 +0000 (16:08 -0400)]
explicitly parse integer from string
Andrew Engelbrecht [Wed, 20 Apr 2022 20:03:09 +0000 (16:03 -0400)]
clean up of code, in particular: hard coded values
Andrew Engelbrecht [Wed, 20 Apr 2022 18:31:20 +0000 (14:31 -0400)]
also check for gift memberships
when determining nomination process eligibility
Andrew Engelbrecht [Wed, 20 Apr 2022 18:27:12 +0000 (14:27 -0400)]
allow test trxns to pass board search criteria
only fsf staff should have these, and not filtering them out makes it
easier to test criteria for the nomination_process attribute.
Andrew Engelbrecht [Tue, 19 Apr 2022 22:53:34 +0000 (18:53 -0400)]
comment and function name change
for clarification
Andrew Engelbrecht [Tue, 19 Apr 2022 22:47:53 +0000 (18:47 -0400)]
changes to board nomination participation rules
mostly changing a hard cutoff date for a comparison of a sum total of
contributions over a time period
Andrew Engelbrecht [Tue, 19 Apr 2022 21:28:12 +0000 (17:28 -0400)]
Rename CAS group name based on function
The check we'll eventually use is more specific than whether they are a
long term member, so we shouldn't use that name.
Andrew Engelbrecht [Fri, 8 Apr 2022 21:16:34 +0000 (17:16 -0400)]
various corrections for long-term member check
Andrew Engelbrecht [Fri, 8 Apr 2022 20:09:27 +0000 (16:09 -0400)]
attribute to distinguish long-term members
this is an early version of the feature that still needs some testing.
the cutoff date and query must be set in the authsources.php file.
Andrew Engelbrecht [Wed, 2 Feb 2022 00:31:06 +0000 (19:31 -0500)]
add aggregate 'groups_list' attribute
for connecting to the member forum
Andrew Engelbrecht [Mon, 31 Jan 2022 21:55:40 +0000 (16:55 -0500)]
corrected license string in composer.json
Andrew Engelbrecht [Mon, 31 Jan 2022 21:03:44 +0000 (16:03 -0500)]
footer: our code contains modifications, not a full fork
Andrew Engelbrecht [Mon, 31 Jan 2022 20:24:48 +0000 (15:24 -0500)]
formalized copyright notice on landing page
there is supposed to be a standard order of information
Andrew Engelbrecht [Fri, 28 Jan 2022 21:37:14 +0000 (16:37 -0500)]
h1, h2, etc theme color tweak
root [Fri, 28 Jan 2022 21:12:46 +0000 (16:12 -0500)]
Override JS file so we can in-line license tags
This JS file appears to be the only one we need.
Andrew Engelbrecht [Fri, 28 Jan 2022 20:53:37 +0000 (15:53 -0500)]
added a sub-heading for login page
Andrew Engelbrecht [Fri, 28 Jan 2022 17:52:51 +0000 (12:52 -0500)]
Adding attribution to FSF in footer
Andrew Engelbrecht [Fri, 28 Jan 2022 17:46:19 +0000 (12:46 -0500)]
Properly describe upstream license, and file changes
Andrew Engelbrecht [Fri, 28 Jan 2022 17:28:03 +0000 (12:28 -0500)]
Change / relabel licenses used by this module
Changing from GPL-3.0-or-later to LGPL-2.1-or-later, for the sake of
license compatibility, in case any upstream file is ever deemed to be
LGPL-2.1-only.
Moving The Drupal copyright notices to README.md
Andrew Engelbrecht [Tue, 25 Jan 2022 19:23:29 +0000 (14:23 -0500)]
More documentation about fsfdrupalauth
Andrew Engelbrecht [Wed, 12 Jan 2022 20:21:13 +0000 (15:21 -0500)]
create option to translate "log out" string
Andrew Engelbrecht [Fri, 7 Jan 2022 17:55:45 +0000 (12:55 -0500)]
fixed comments about pipes with child process
Andrew Engelbrecht [Fri, 7 Jan 2022 17:47:54 +0000 (12:47 -0500)]
replace tabs with spaces
for consistent indentation regardless of tabstop size
Andrew Engelbrecht [Fri, 7 Jan 2022 17:33:21 +0000 (12:33 -0500)]
add informational headers to extlib files
both of these files are taken from Drupal 7
Andrew Engelbrecht [Fri, 7 Jan 2022 17:32:05 +0000 (12:32 -0500)]
update version of extlib/bootstrap.inc
there is a newer version in upstream Drupal
Andrew Engelbrecht [Fri, 7 Jan 2022 17:20:14 +0000 (12:20 -0500)]
check whether $result is a string
stream_get_contents() might return false, and we should not implicitly
convert that to a string
Andrew Engelbrecht [Fri, 7 Jan 2022 17:09:07 +0000 (12:09 -0500)]
don't accept password if there is stderr
in case there is some unexpected error like an undefined variable, with
a 0 return code, we want to reject the login
Andrew Engelbrecht [Fri, 7 Jan 2022 16:56:34 +0000 (11:56 -0500)]
check for invalid extra lines of input
only one line of input is valid for the glue code between the ssp lib
and the drupal libs used for authentication
Andrew Engelbrecht [Wed, 5 Jan 2022 15:18:44 +0000 (10:18 -0500)]
override footer
Andrew Engelbrecht [Mon, 27 Dec 2021 23:18:33 +0000 (18:18 -0500)]
more icon size theming (for slow loading imgs)
Andrew Engelbrecht [Mon, 27 Dec 2021 23:12:59 +0000 (18:12 -0500)]
more theming for our module
Andrew Engelbrecht [Mon, 27 Dec 2021 22:52:48 +0000 (17:52 -0500)]
don't resize login icon element upon img load
root [Wed, 1 Dec 2021 22:07:45 +0000 (17:07 -0500)]
some basic theming of the site
to look like our theme on rubycas
root [Fri, 19 Nov 2021 22:22:33 +0000 (17:22 -0500)]
updated the text at the bottom of the login screen
to make it similar to what we have on the current cas.fsf.org
root [Fri, 19 Nov 2021 22:22:00 +0000 (17:22 -0500)]
added the upstream login screen template
root [Fri, 19 Nov 2021 21:14:14 +0000 (16:14 -0500)]
textual space changes
root [Fri, 19 Nov 2021 21:13:42 +0000 (16:13 -0500)]
add a logout link on loggedin page
root [Fri, 19 Nov 2021 20:32:01 +0000 (15:32 -0500)]
print user name on cas login status page
root [Fri, 19 Nov 2021 19:20:58 +0000 (14:20 -0500)]
prepare to print user name on loggedIn page
root [Fri, 19 Nov 2021 19:20:15 +0000 (14:20 -0500)]
adding upstream loggedIn.php template
Andrew Engelbrecht [Fri, 19 Nov 2021 18:58:53 +0000 (13:58 -0500)]
use our custom css theme
Andrew Engelbrecht [Fri, 19 Nov 2021 18:58:27 +0000 (13:58 -0500)]
adding an initial css file, a copy of default.css
Andrew Engelbrecht [Fri, 19 Nov 2021 18:46:47 +0000 (13:46 -0500)]
create fsf theme with upstream header.php
https://simplesamlphp.org/docs/stable/simplesamlphp-theming
Andrew Engelbrecht [Wed, 17 Nov 2021 22:20:55 +0000 (17:20 -0500)]
other minor tweaks based on new sqlauth upstream module
Andrew Engelbrecht [Wed, 17 Nov 2021 22:07:42 +0000 (17:07 -0500)]
updated module code based on upstream sqlauth mod
Andrew Engelbrecht [Tue, 9 Nov 2021 23:19:23 +0000 (18:19 -0500)]
created basic .gitignore file
Andrew Engelbrecht [Tue, 9 Nov 2021 23:14:18 +0000 (18:14 -0500)]
Initial version of fsfdrupalauth, still alpha software
This is the code that I adapted from SSP SQL Auth about a year ago.
(from simplesamlphp/simplesamlphp-module-sqlauth)
It still needs review, and may have some rough edges.