GithubHelp home page GithubHelp logo

uportal-project / announcementsportlet Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 31.0 3.2 MB

JSR-286 portlet implementing announcements in uPortal.

Home Page: https://wiki.jasig.org/display/PLT/Announcements+Portlet

License: Apache License 2.0

Java 33.93% CSS 2.37% JavaScript 56.09% HTML 0.30% Less 7.31%
hacktoberfest java portal portlet uportal uportal-start-bundled

announcementsportlet's People

Contributors

apetro avatar bjagg avatar bourey avatar bpowell avatar brucezztong avatar cbeach47 avatar chasegawa avatar christianmurphy avatar colcampbe3 avatar doodelicious avatar drewwills avatar groybal avatar jgribonvald avatar jhelmer-unicon avatar joshbrudnak avatar landisaurus avatar loulou2u avatar msultzaberger avatar renovate-bot avatar renovate[bot] avatar sbramhall avatar shawnconnolly avatar snyk-bot avatar waymirec avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

announcementsportlet's Issues

Add short cache to announcements collections

With some high-usage scenarios (Announcements backing alerts and notices) performance is important. Adding a short cache in front of the announcement collection process would help.

Update or remove jQuery imports to uP5 version

We are moving to support at least jQuery 1.12 in uPortal 5. There are Announcement JSPs that import jQuery 1.11 and other old libraries. These JSPs should be updated to use the current version or rely on uPortal to import the correct version.

Lingering db connection

Benito,

The DBAโ€™s indicate, this is the SQL associated with these lingering database connections:

c6336hwdk1vv2
delete from ANNOUNCEMENT where END_DISPLAY<:1

Just stating the obvious, if we have 10 servers in the pool, and we do not bounce the servers for 2 months, 60 days, that is 600 lingering/unused uPortal database connections.

Any ideas what process may be auto-scheduled to execute such a query at 3 am?

Thanks,
Steven

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined

Titles should be string not text

Having the Title of Topic & Announcement set to text in Hibernate is causing issues with Oracle. This should be changed to string as it is an INPUT on the add/edit forms whereas Description is 'text' and is a TEXTAREA on the forms.

Unable to delete announcement

Describe the bug
When attempting to delete an announcement, the user is greeted with the following message

HTTP Status 405 - Request method 'GET' not supported

To Reproduce
Steps to reproduce the behavior:

  1. Create create announcement
  2. Attempt to delete announcement

Expected behavior
The announcement being deleted

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Rate-Limited

These updates are currently rate-limited. Click on a checkbox below to force their creation now.

  • fix(deps): update dependency org.projectlombok:lombok to v1.18.34
  • fix(deps): update slf4j monorepo to v2.0.16 (org.slf4j:jcl-over-slf4j, org.slf4j:log4j-over-slf4j, org.slf4j:jul-to-slf4j, org.slf4j:slf4j-api)
  • chore(deps): update dependency org.apache.maven.plugins:maven-checkstyle-plugin to v3.4.0
  • chore(deps): update dependency org.apache.maven.plugins:maven-javadoc-plugin to v3.8.0
  • fix(deps): update dependency com.fasterxml.jackson.core:jackson-databind to v2.17.2
  • fix(deps): update dependency com.rometools:rome to v1.19.0
  • fix(deps): update dependency org.jasig.portal:uportal-spring to v5.16.1
  • fix(deps): update dependency org.springframework.data:spring-data-releasetrain to v1.4.6.release
  • chore(deps): update actions/checkout action to v4
  • chore(deps): update actions/setup-java action to v4
  • chore(deps): update dependency org.apache.maven.plugins:maven-release-plugin to v3
  • chore(deps): update dependency org.apache.maven.plugins:maven-surefire-plugin to v3
  • chore(deps): update dependency org.apache.maven.scm:maven-scm-api to v2
  • chore(deps): update dependency org.apache.maven.scm:maven-scm-provider-gitexe to v2
  • fix(deps): update dependency com.rometools:rome to v2
  • fix(deps): update dependency com.sun.xml.bind:jaxb-impl to v4
  • ๐Ÿ” Create all rate-limited PRs at once ๐Ÿ”

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/CI.yml
  • actions/checkout v3
  • actions/setup-java v3
maven
pom.xml
  • org.jasig.parent:jasig-parent 41
  • commons-collections:commons-collections 3.2.2
  • javax.xml.bind:jaxb-api 2.3.1
  • javax.annotation:javax.annotation-api 1.3.2
  • com.sun.xml.bind:jaxb-impl 2.1.9
  • javax.persistence:javax.persistence-api 2.2
  • javax.servlet:jstl 1.1.2
  • taglibs:standard 1.1.2
  • org.jasig.portlet.notification:notification-portlet-api 2.1.2
  • org.jasypt:jasypt-spring31 1.9.3
  • org.hibernate:hibernate-core 5.6.15.Final
  • org.hibernate:hibernate-ehcache 5.6.15.Final
  • org.hibernate:hibernate-tools 5.6.15.Final
  • javassist:javassist 3.12.1.GA
  • backport-util-concurrent:backport-util-concurrent 3.1
  • org.slf4j:slf4j-api 2.0.6
  • org.slf4j:jul-to-slf4j 2.0.6
  • org.slf4j:log4j-over-slf4j 2.0.6
  • org.slf4j:jcl-over-slf4j 2.0.6
  • ch.qos.logback:logback-classic 1.3.5
  • commons-dbcp:commons-dbcp 1.4
  • org.hsqldb:hsqldb 2.5.0
  • com.fasterxml.jackson.core:jackson-core 2.14.1
  • com.fasterxml.jackson.core:jackson-databind 2.14.1
  • org.projectlombok:lombok 1.18.24
  • com.rometools:rome 1.18.0
  • jdom:jdom 1.0
  • org.jasig.portal:uPortal-spring 5.15.1
  • javax.servlet:javax.servlet-api 3.1.0
  • javax.portlet:portlet-api 2.0
  • junit:junit 4.13.2
  • org.jasig.resourceserver:resource-server-content 1.3.1
  • org.jasig.resourceserver:resource-server-utils 1.3.1
  • org.springframework:spring-framework-bom 4.3.30.RELEASE
  • org.springframework.data:spring-data-releasetrain Hopper-SR3
  • org.apache.maven.plugins:maven-release-plugin 2.5.3
  • org.apache.maven.scm:maven-scm-provider-gitexe 1.13.0
  • org.apache.maven.scm:maven-scm-api 1.13.0
  • org.apache.maven.plugins:maven-surefire-plugin 2.22.2
  • org.jasig.portal.maven:uportal-maven-plugin 1.0.1
  • rhino:js 1.7R2
  • javax.servlet:javax.servlet-api 3.1.0
  • javax.portlet:portlet-api 2.0
  • org.codehaus.mojo:jaxb2-maven-plugin 2.5.0
  • org.lesscss:lesscss-maven-plugin 1.7.0.1.1
  • org.apache.maven.plugins:maven-javadoc-plugin 3.4.1
  • org.apache.maven.plugins:maven-checkstyle-plugin 3.2.0

  • Check this box to trigger a request for Renovate to run again on this repository

Lack of a topic description prevents the RSS feed from being generated

Describe the bug
When a topic is not given a description and the "Offer Public RSS" checkbox is checked, the feed URL results in a 500 error

To Reproduce
Steps to reproduce the behavior:

  1. Add a new topic without a description and check the "Offer Public RSS" checkbox
  2. Go to the user-facing interface and click the RSS icon for the topic created in step 1

Expected behavior
An RSS feed

Stacktrace
No stacktrace, but you'll see the following in the log (Campus Spotlight was the topic in question at our institution)

WARN [http-apr-4443-exec-9] servlet.RssFeedController.[] 2018-08-28 11:44:09,458 - Failed to create SyndFeedOutput for topic 'Campus Spotlight'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.