mirror of
https://github.com/projectsend/projectsend.git
synced 2026-09-19 10:05:11 +00:00
99c8c469c5
Client file rows in My files now carry expires_at, and all four portal themes show "Available until <date>" beside the size, date and download count. Before, the date was only on the file's edit screen, so a file about to disappear gave no sign of it where the client looks for it. The portal upload page dispatches ResolvingUploadNotice, handing the uploader to listeners, and shows any lines they add above the uploader. The upload page is one page for every theme, so this is the only place a rule about uploads can be read before one happens; the announcement band is drawn by one theme's shell and would miss the other three. With nothing listening it shows nothing. First caller: cloud-modules, telling free-plan customers how long uploads are kept.