stanford-shared-email-request-web (31) unstable; urgency=medium

  * Add an optional announcement banner displayed at the top of every page.
    Controlled by the new "announcement_enabled" configuration directive
    (set to "YES" or "NO"); when enabled, the banner's HTML content is read
    from /etc/shared-email-web/announcement.html. The banner is silently
    skipped if the file is missing or unreadable.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Sat, 20 Jun 2026 16:42:46 -0700

stanford-shared-email-request-web (30) unstable; urgency=medium

  * For user-entered descriptions replace all white space with the space
    character (especially CRs and LFs) and compress successive space
    characters to a single space character.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Fri, 10 Oct 2025 15:17:37 -0700

stanford-shared-email-request-web (29) unstable; urgency=medium

  * [shared-email-manage] Add the unapprove action, improve the help screen, fix a bug
    in the show action.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Thu, 20 Jun 2024 09:20:38 -0700

stanford-shared-email-request-web (28) unstable; urgency=medium

  * [admin/index.cgi] When the admin page tries to create the Stanford Workgroup, if the
    workgroup already exists the Perl code raises an exception and dies. So, only create
    the workgroup if it does not already exist.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Wed, 19 Jun 2024 14:28:57 -0700

stanford-shared-email-request-web (27) unstable; urgency=medium

  * Link to the Stanford University Org Code Hierarchy has changed. It used to be
    open to the world but it has changed to one only viewable to those who can
    authenticate.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Tue, 15 Aug 2023 13:12:51 -0700

stanford-shared-email-request-web (26) unstable; urgency=medium

  * Fix now-broken link to Stanford University Org Code Hierarchy
    (ServiceNow ticket INC01696259).

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Tue, 19 Jul 2022 09:24:07 -0700

stanford-shared-email-request-web (25) unstable; urgency=medium

  * [shared-email-create-cal-wg] Strip out workgroup linkage code from
    shared-email-create-cal-wg; instead set wgrp_status to 1 on
    successful workgroup create.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Tue, 19 Apr 2022 11:57:44 -0700

stanford-shared-email-request-web (24) unstable; urgency=medium

  * Add new configuration option to skip workgroup linkage.
  * new-list.pl: ignore the "when_moved" field when returning accounts that
    need to be created.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Sun, 20 Mar 2022 20:27:52 -0700

stanford-shared-email-request-web (23) unstable; urgency=medium

  * Fix small spelling typo in e-mail templates.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Fri, 01 Oct 2021 06:04:21 -0700

stanford-shared-email-request-web (22) unstable; urgency=medium

  * The remctl call that creates the functional account will fail if there
    is a duplicate sunetid in the list of owner sunetids. So, we add a new
    check in the validate_owners routine that alerts the submitter when
    there is a duplicate in the owners list. Thanks to Sangeetha Chowan
    for helping me debug this issue. See also ServiceNow INC01511459

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Fri, 17 Sep 2021 14:27:22 -0700

stanford-shared-email-request-web (20) unstable; urgency=medium

  * In the function "validate_description" only allow description text
    that contains alphanumerics, space characters, and punctuation. We do
    this because if someone submits a description with non-ASCII Unicode
    characters (e.g., an em-dash), MySQL will barf. See also ServiceNow
    ticket INC01511459.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Wed, 08 Sep 2021 18:26:41 -0700

stanford-shared-email-request-web (19) unstable; urgency=medium

  * [shared-email-mange] Convert --help and --manual from options to
    actions, e.g., instead of "shared-email-manage --help" do
    "shared-email-manage help".

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Sat, 04 Sep 2021 09:48:35 -0700

stanford-shared-email-request-web (18) unstable; urgency=medium

  * Fix bug in CONFIG attribute name and member populate when workgroup is
    created.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Fri, 03 Sep 2021 11:14:32 -0700

stanford-shared-email-request-web (17) unstable; urgency=medium

  * Make navigation between admin and main page easier.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Tue, 10 Aug 2021 07:17:11 -0700

stanford-shared-email-request-web (16) unstable; urgency=medium

  * Add a maintenance page.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Mon, 09 Aug 2021 11:47:28 -0700

stanford-shared-email-request-web (15) unstable; urgency=medium

  * Migrate Jason Cowart's PHP scripts used by the Exchange server. Convert to Perl.
    These scripts live in the "/remote" endpoint.
  * Add new script "shared-email-manage" that allows us to manage some of
    the database data via the command-line.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Fri, 23 Jul 2021 15:27:29 -0700

stanford-shared-email-request-web (14) unstable; urgency=medium

  * Add some progress information in usr/sbin/shared-email-link-jobs.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Mon, 19 Jul 2021 09:09:42 -0700

stanford-shared-email-request-web (13) unstable; urgency=medium

  * Fix documentation section of shared-email-link.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Tue, 29 Jun 2021 09:55:04 -0700

stanford-shared-email-request-web (12) unstable; urgency=medium

  * Add missing semicolon in linkage script.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Tue, 29 Jun 2021 09:47:01 -0700

stanford-shared-email-request-web (11) unstable; urgency=medium

  * Change names of scripts.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Tue, 29 Jun 2021 09:06:43 -0700

stanford-shared-email-request-web (10) unstable; urgency=medium

  * Add shared-email-link-jobs wrapper script (allows us to more easily
    control which linkage jobs to run).

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Tue, 29 Jun 2021 08:23:54 -0700

stanford-shared-email-request-web (9) unstable; urgency=medium

  * Fixed some e-mail wordings as per Jason Cowart.
  * Restrict number of characters in Description field to 255.
  * Add some options to create-cal-wg.pl to make it easier to test with it.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Fri, 25 Jun 2021 13:31:13 -0700

stanford-shared-email-request-web (8) unstable; urgency=medium

  * Have the two cron jobs share-link.pl and create-cal-wg.pl create their
    own Kerberos ticket cache to avoid them setting inappropriate
    permissions on the web application's ticket cache (remember that the
    web application typically runs as user 'www-data').

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Mon, 21 Jun 2021 08:53:44 -0700

stanford-shared-email-request-web (7) unstable; urgency=medium

  * Change the LDAP search of the org tree to an authenticated
    search. Why? Since we are going to run this application off-campus we
    an anonymous search will no longer work when reading the org
    tree. Thus, we need to move to an authenticated LDAP search.
  * Require the explicit configuration of the Kerberos principal name for
    remctl calls. This is to support remctl calls made through a proxy
    where the proxy hostname is not the same as the hostname of the remctl
    server backend.
  * Add configuration directive for workgroup link server. While this
    server is not used directly in the web application it _is_ used by the
    cron job scripts.
  * Add a class to make logging easier. This will require a log4perl
    configuration file in /etc/shared-email-web/log4perl.conf; see
    https://metacpan.org/pod/Log::Log4perl for more information on the
    format of the configuration file.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Fri, 18 Jun 2021 07:50:23 -0700

stanford-shared-email-request-web (5) unstable; urgency=medium

  * Migrate to a new package.

 -- Adam Henry Lewenberg <adamhl@stanford.edu>  Mon, 01 Mar 2021 09:32:07 -0800

stanford-server-tools-mail (4) unstable; urgency=medium

  * Add bulkmail scripts and their prerequisites.
    This isn't a full implementation, it's still missing some front-end stuff.
  * Add some webmail code.
    This isn't a full implementation, it's also missing some front-end stuff.
  * Limit shared email descriptions to 255 characters.
  * Screen for requests using aliases instead of SUNetIDs.
  * Create workgroups when approving shared email requests.
  * Remove modify button, and add approval processing time note.

 -- Karl Kornel <akkornel@stanford.edu>  Wed, 28 Jul 2016 23:06:00 -0800

stanford-server-tools-mail (3) unstable; urgency=medium

  * Added a message for accounts that already exist, but are not
    sponsored.
  * Increased the detail in syslog entries, and log request submission.
  * Explicitly set case on SUNetIDs, emails, and OrgID.
  * Added a new command, sharedemail-migrate, which helps the process of
    migrating old Group IMAP accounts to new shared email accounts.  Right now
    is just supports the command "workgroup", which creates and populates a
    workgroup.

 -- Karl Kornel <akkornel@stanford.edu>  Tue, 15 Dec 2015 16:22:24 -0800

stanford-server-tools-mail (2) unstable; urgency=medium

  * Updated sponsorship email: PTA authority is not needed to approve.
  * Fixed description quoting in account-create-functional call

 -- Karl Kornel <akkornel@stanford.edu>  Fri, 06 Nov 2015 16:02:57 -0800

stanford-server-tools-mail (1) unstable; urgency=medium

  * Initial release.
    This package currently contains only the Shared Email webapp
    (previously known as deptemail), which was removed from
    stanford-server-tools.  For older hisotry, refer to Git repository
    ssh://git.stanford.edu/srv/git/server/tools.git,
    commit 45110c60e0a6f6c34e4367d29e94f31ad1e2e387.

 -- Karl Kornel <akkornel@stanford.edu>  Mon, 02 Nov 2015 20:31:43 -0800
