dirkriehle / wahlzeit Goto Github PK
View Code? Open in Web Editor NEWThe Wahlzeit Java framework for Photo Sharing and Rating websites
Home Page: http://wahlzeit.org
License: GNU Affero General Public License v3.0
The Wahlzeit Java framework for Photo Sharing and Rating websites
Home Page: http://wahlzeit.org
License: GNU Affero General Public License v3.0
As a user, I can select any of my photos and change the information available for it
After changing the photo's information, the change becomes effective immediately
As an administrator, I receive an email, if a user had three photos flagged by the community
The administrator receives the email providing the user name; for every additional photo, s/he receives another email
As a sysadmin, I can startup and shutdown the service from the command line
Three consecutive startup and shutdown command line invocations leave the system in a consistent state
As a visitor, I am presented with a random photo when I go to the website
Repeated visits to the site provide different photos
1a. class Tags stores its data in a set
1b. implemented equals() for class Tags (including tests)
2. added HandlerTestSetup for initialization of test data
3a. changed DatabaseConnection in order to allow dynamic configuration of DB connections
3b. test cases can now use an in-memory db (HSQL) - warning: this feature is currently disabled for org.wahlzeit.AllTests since HSQL has some problems parsing the SQL script which is needed for populating the DB
As a sysadmin, I can create a default application administrator from the command line
After running the command, a default "admin" account with default password "dingdong" exists and can be used
On branch wahlzeit-40-new-ui, we should dockerize the UI as well. This is a leftover from PR #133.
Create bill of materials; consider using SPDX.
As a administrator, I can reboot or shutdown the service using a graphical UI
The command is only available to the administrator role and shuts down the system to a clean restartable state
As a guest, I can copy and paste a photo page URL from the URL bar, and it will always be the same photo
Upon requesting the same URL repeatedly, it will always be the same photo page
As a logged-in user, I can logout from Flowers to free up the computer for some other person
After logging out, I have lost access to user functionality and can only regain it by logging in again
As a user, I can flag a photo as inappropriate or copyright violation; a flagged photo becomes invisible immediately
The flagged photo cannot be viewed by anyone any longer but the owning user or an administrator
Add a redirect from /wahlzeit to /wahlzeit/ to ensure proper access.
As a sysadmin, I can backup all data to files and reload it fresh while the system is down, using the command line
Running restore after backup recreates the same identical system
After the move to Tomcat, the shutdown process is not properly being triggered.
wahlzeit/src/main/java/org/wahlzeit/handlers/ShowAdminPageHandler.java
Lines 136 to 139 in c248aee
The Variable user must always be null.
Therefore the Call user.getLanguageConfiguration()
will always result in a NullpointerException, if this code is Executed.
As a user, I can select any photo from my portfolio and have it deleted
After deleting the photo, it will not be shown any longer to any user
As a visitor, I can rate a photo with a numerical value of 1-10; after rating, another photo is shown.
The rating is stored and an average value is computed
As a visitor, I am presented with a photo caption, which I can expand to show full photo data
A first clock shows me the photo data, a second click hides it again; rinse and repeat
When trying the sample flower photo set, only half of the photos show up before having to starting over with the available photos. Which photos are skipped and which are shown seems to be random.
Currently works under Linux, not under Windows. File name component separator needs to be consistently derived from system settings. Current symptom is that the photos are not viewed properly under Windows.
As a search engine, I find meaningful meta-data in a photo page, created from the photo data
Using a search engine and a photo's meta-data, the search engine points to the photo page
As a user, I am asked to enter basic profile data upon every login, if it doesn't yet exist
I am asked for basic data upon every login; after providing it once, I never get this dialog again
The Main class hierarchy needs refactoring to allow for a clean initialization of framework extensions.
As a guest, I can login using my previously created user account data to get access to user functionality
After logging in, I have access to user functionality
As an administrator, I can view all flagged photos, ordered by time of flagging
The list shows all previously flagged photos
There should be two periodic background tasks:
Check and reinstate if necessary.
As a user, I can upload a new photo and add information to it; meta-data is extracted from the photo
After uploading a new photo, I can find it in my photo portfolio
On branch wahlzeit-40-new-ui.
We should document the backend API in an interactive way. I suggest to use swagger
to generate an OpenApi
spec that we can feed into a Swagger-UI
container.
On branch wahlzeit-40-new-ui. This is a leftover from PR #133.
As a guest, I can register on Flowers for free, to become a user and get access to user functionality
After registration, my newly created account is available right away and I can login
As a visitor, I can request to be sent an email with a link to a page that lets me create a new password
Upon having received the email, I can use the linked-to page to create a new password
As a user, I can change my password; having to double-enter my password protects me from mistakes
After changing my password, the change has become active right away
As a user, I can select any one of my photos and have it shown to me, including any added information
After selecting one of my photos I'm presented with a screen that shows the photo and its information
To be defined week 5 onwards.
As a user, I can browse my collection of uploaded photos (my portfolio), complemented by basic information.
I am provided with a browseable list of all my photos to select one from.
For a given build, determine the compile-time, and add it to page output of a running Wahlzeit instance. The purpose is to see in one view, when this application was compiled (deployed).
As a user, I can change my basic profile data, which at a minimum involves real name and email address
After changing my basic profile data, any changes are active right away
As an administrator, I can review a flagged photo and unflag it or take it offline
After unflagging, the photo is viewable again; after taking it offline, the user receives an email notification
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.