Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/galleries #55

Merged
merged 103 commits into from
Dec 6, 2020
Merged

Feature/galleries #55

merged 103 commits into from
Dec 6, 2020

Conversation

itinerare
Copy link
Collaborator

@itinerare itinerare commented Dec 4, 2020

Merge in galleries. Includes some changes relative to the current state of the extension:

New:

  • Galleries can have set open/close times and can be hidden before start, much like prompts. They cannot be hidden after end.
  • Empty galleries with child/sub-galleries check if any visible submissions to their sub-galleries exist, and display the most recent. (Thanks to @preimpression for the idea!)
  • Gallery submissions no longer have the option to select an associated prompt; instead, a list of associated prompt submissions (those where the url is the gallery submission's url) is gathered and the prompt details collected from those. This is used both to supply information for auto-prefixing as well as to populate a new section of gallery submission information containing a list of visible prompt submissions.

Misc:

  • Removed package dependency
  • Add galleries to credits page

Bugs Fixed:

  • Attempting to approve a submission with a character attached without an on-site owner causes approval to fail

Tested locally - Requires migrate, composer update (for those with galleries installed previously)

…tructure and endeavoring to make a customizable form
…out detailed view for vote log, staff comments, etc
- Add 'participants'-- giftees, commissioners, etc for the sake of systems where it's relelvant
- Add ability to set a prefix for prompts...
- and add automatic submission title prefixes based on extant participant types and the prompt associated with the submission, if there is an associated prompt and it has a prefix
…f currency to users, sending of notifications to affected users
- Add content warning display to both parsed-text gallery submission thumbnails and pre-generated markdown
- Make parsed-text gallery submission thumbnails use plain credits for readability
- Add display of recent submissions in a gallery's child galleries on index page (thanks Uri!)
…sions automatically

(Searches submission URLs for the gallery submission URL)
- Update auto-prefixing to use automatically associated prompts
- Add section to gallery submission sidebar with associated submissions
@itinerare itinerare added the needs review Pull requests that are pending community review label Dec 4, 2020
Copy link
Owner

@corowne corowne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly small comment edits and etc.; the two relatively larger ones are:

  • Put the gallery settings in AddSiteSettings
  • Shuffle some HTML out of a model

app/Http/Controllers/Admin/Data/GalleryController.php Outdated Show resolved Hide resolved
app/Http/Controllers/Users/UserController.php Outdated Show resolved Hide resolved
app/Models/Gallery/Gallery.php Outdated Show resolved Hide resolved
app/Models/Gallery/GallerySubmission.php Outdated Show resolved Hide resolved
app/Models/Gallery/GallerySubmission.php Outdated Show resolved Hide resolved
.gitignore Outdated Show resolved Hide resolved
app/Console/Commands/AddGallerySettings.php Outdated Show resolved Hide resolved
- Fix child submission display bug
- Add migration to add indexes to gallery tables
- Move gallery settings to add-site-settings
- General tidying
Copy link
Owner

@corowne corowne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mentioned 2 of these things on Discord, aside from that one small typo

resources/views/galleries/_sidebar.blade.php Outdated Show resolved Hide resolved
resources/views/galleries/index.blade.php Outdated Show resolved Hide resolved
resources/views/galleries/_sidebar.blade.php Outdated Show resolved Hide resolved
Copy link
Owner

@corowne corowne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good to go I think!

@itinerare itinerare added reviewed Pull requests that have received community review and are pending merge and removed needs review Pull requests that are pending community review labels Dec 6, 2020
@itinerare itinerare merged commit 2777cfe into corowne:develop Dec 6, 2020
@itinerare itinerare deleted the feature/galleries branch December 6, 2020 10:21
@corowne corowne mentioned this pull request Dec 6, 2020
28 tasks
@itinerare itinerare added this to the v2.0.0 milestone Dec 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
reviewed Pull requests that have received community review and are pending merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants