Giter VIP home page Giter VIP logo

web-interface's People

Contributors

arrow768 avatar dependabot[bot] avatar geevies avatar generalcamo avatar karolis2011 avatar sierrakomodo avatar skull132 avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

web-interface's Issues

Linking Request improvements

This can be improved

  • Check if the byond key in the linking request has played on the server. If not output a error message
  • Display the byond key the linking request has been filed for
  • Add a page that allows users to see their past linking requests
  • Add a page that allows admins to see all linking request (including cancelled ones)
  • Ckey Sanitizing before writing them to the db

0.10.0 Update

The following needs to be done before the 0.10.0 Update can be merged:

  • Add flavourtext to the user overview
  • Add in the DO Fax Format Page tied into the server API

The following has been done:

  • Refactored permissions
  • Refactored the routes
  • Added a Whitelist Log Page

Lack of Alignment functions in CK Editor bug

The CK Editor used in book editing in the Library section doesn't seem to have alignment functions, so you have to manually align or center the text using html [center] [/center] every time it de-formats the book after you edit something else.

EDIT: I also found a lack of Underline button, so you have to manually do that in HTML as well, since the editor removes it if you edit anything.

Contracts cannot be completed without objectives

As of submission of this ticket, there are 72 80 contracts. 90% of them do not have objectives added because the contracts were submitted before the addition of objectives. It is currently impossible to submit an IC completion report on contracts that lack objectives.

Item ghost duplication

When using the merc hardsuits, when you take it off the hardsuit with a air tank attached. A ghost duplicate of the tank will drop on the floor. When you drop the hardsuit on the floor it seems to reset.

Online Library Access

Allow read access for everyone and write access for Lore Devs to the library

ToDo:

  • Add model to access the DB
  • Add controller to view, edit and delete books to / from the libraray

Submitting empty character exploits gives an error and also empties the data

Discovered this while purposefully clearing data from the exploit field of a character. It displayed this error:

The records exploit field is required.

However, the data was also deleted from the character. I'd personally request keeping the functionality of deleting data if the text field is blank, and just suppressing/removing the error message as it wouldn't apply as a result.

Contract Details improvements

  • Add more explanation what each message type means.
  • Allow mods to delete messages
  • Username is forced for contract authors on ooc messages. OOC Messages should default to the form username

Catch unlinked SSO landings

SSO fails if a person with an unlinked forum account attempts to connect.

Perhaps it'd be neat to give them a graceful landing that tells them to link an account first? Or something like that. This is primarily because the new server greetings have a "My Profile" link which will attempt SSO onto the user's dashboard.

"Hey, you don't appear to have a forum account linked to your BYOND account! You can do this by:

  • Logging in from the top right with your forum details (have to register on the forums first, if you haven't already)
  • Going here
  • Pressing X, Y and Z!"

The alternative is that I run this serverside. Though that would mean hooking up a second DB to it finally.
Which would be easier?

Additional Logging

Log every write action that a user performs.
Read Actions dont need to be logged right now, but it might be useful in the future.

Contract Notifications

Allow users to subscribe to contract updates that will be sent to their forum e-mail

ToDo:

  • Add Mail Notification Class
  • Add contract_subscribers table (That tracks what user is watching what contract)
  • Automatically subscribe the author of the contract to the contract
  • Automatically subscribe users to a contract if they post on the contract
  • Add subscribe and unsubscribe buttons to the contract details page
  • Change the message sent to the player/mods to include the type of the message posted.

Faxxes sent through the web interface appear to have a character limit

I didn't catch what the exact character limit was as the round was ending at the time and I had to send in a report using the manual method instead. A lengthy fax containing the below message was cut off after the 'Additionally, according to' portion, and the SIGN field was appended.

First and foremost, we want to ensure the chief medical officer and research director are aware of the following: You are employed by us to work on board a research station to conduct research. We expect you to be able to collaborate and cooperate peaceably on matters such as this, not bicker at eachother and cause incidents. The chief medical officer is fully qualified to conduct exploratory surgeries. The research director is fully qualified to handle scientific reports. Please combine your skills in the future to provide results instead of complaints.

Upon review of the statements provided by the CMO, responding security officer, and the research director, we have determined that the chief medical officer was acting within the bounds of their official capacity. According to signed testimony of the officer, the research department was already in possession of additional samples of these 'bluespace bear' specimens. Multiple medical staff attested to the research drector's tresspass, as noted in the officer's report. In this particular instance, the stated charge of trespassing for the research director does appear to be valid, and the complaint of exceeding official powers appears to be invalid.

Additionally, according to the CMO's report, the research director has now been exceeding official powers, including possible tampering with cyborg control consoles. We request a thorough investigation into the matter be conducted by security personnel and a report forwarded back to CCIA for additional review.

Duty Officer 'Automated General Notice' List

Needs to be ported from /r/donoticelist.php into the web interface.

To-Do list:

  • Update table structure/Relocate table to the main database (Include field to link a notice to a forum post for the DO announcements thread)
  • System to randomly select and display a notice, and display all notices (Probably on the same page like it's currently setup)
  • Routes entry for URLs
  • Menu entry
  • 'Show/Edit' handler
  • 'Delete' handler
  • 'Add' handler

Possible idea:

  • Speak with Skull to implement a system in-game to automatically select a notice from this lsit and send it at the 0:30, 1:30, 2:30, etc marks in game.

Admins cannot edit character names

What it says on the tin. There is no option for admins to edit the character names. It's important now considering people cannot edit their own names anymore.

Stats Proposition

Statistics for the evolution of player throughout the hours (Making it easier to see deadhours, for exemple), including staffmembers.

Statistics for the gamemode played (not related to vote, as we would only get "SECRET").

Force HTTPS protocol over HTTP

We now have an SSL certificate active.

As such, please ensure that all requests are rerouted to use the encrypted protocol over the non-encrypted one.

SSO for the forums

Add a single sign on system to the forum that allows users to log in with the click of a button.

ToDo: Forum Subdomain

  • Check if a user is logged in
  • Generate SSO Token for the user
  • Redirect User to webpanel´s SSO Page

ToDo: WebPanel

  • Additional parameter to specify if supplied username is forum or byond username.

Persistent (PDA) Messages

Add persistent PDA Messages.

Requirements:

  • Allow users (chars) to send persistent messages between each other
  • Allow CCIA to send messages to multiple users at the same time
  • Allow users to report inappropriate messages
  • If a new message is added to the db, notify the server of the new message

ToDo:

  • Create the DB Layout
  • Create the WI pages to send and receive messages
  • Implement the API in the WI to notifiy the server of new messages
  • Write the Serverside implementation of the API
  • Write the Ingame interface

Ingame Interface:

  • Allow Sending and Retrieving Persistent Messages
  • Add a proc to fetch new messages for a given userid from the db if the api is called

Contract Overview Improvements

Improve the contract overview page:

  • Add a label that shows the contract status
  • Change table to datatable with serverside processing.

Allow adding / editing of warnings / notes via the WI

It should be possible to add / edit warnings and notes via the webinterface.

ToDo:

  • a DB-Model for the warnings
  • a DB-Model for the notes
  • a Controller for the warnings
  • a Controller for the notes
  • Note overview, detail, add and edit pages
  • Warning overview, detail add and edit pages

Modify Server Permissions from the WI

Allow Management of serverside permission from the WI

  • Build a permission matrix
  • Option to add new entries
  • Option to remove/edit entries
  • Allow Adding / Removing permissions from the matrix

Duty Officer 'CCIA Action' list

Interface to allow DOs to enter suspensions, injunctions, and other IC actions taken against characters, and to allow players to see active actions against their characters and head of staff whitelistees to see all active actions.

To replace the thread that's a pain to manage.

To Do:

  • Create DB table structure.
  • Interface to enter/delete/manage entries for DOs
    -- Include 'automatic expiration' of temporary suspensions/injunctions that are given a timeline
  • Interface to view entries for DOs/Players/Heads

Contract Images

Allow users to post images on contracts.

ToDo:

  • Expand form to include upload button
  • Show uploaded images in the contract comments

User Classes

User Classes define which permissions a user has on the server / the wi / the forum.

They provide a easy way to quickly set a users permissions without having to use multiple different interfaces.

Showing Blank Page

Hey.

I'm trying to install WebPanel 2.0. I've followed the CLI instructions posted on the GitHub wiki. However, for some reason, index.php is throwing a whitepage after install, and I'm unable to proceed from there.

Any help is appreciated, thanks!

Additional Contract features

The following features would be useful:

  • Ability to add primary and secondary objectives to a contract each with their own rewards
    • Upon completion allow the contractor to select which objectives have been completed and allow the contractee to confirm the selection
  • Ability to complete a contract multiple times (for repeatable contracts)

The existing comments table needs to be adapted a bit:

  • Status of the completion report (waiting approval, accepted, rejected)
  • Who completed the contract (many-to-many between users and comments (completion report))
  • What objectives have been attempted ( many-to-many between objectives and comments (completion report))

A contract objectives table is also required:

  • ID of the objective
  • Many-to-One Relationship between objectives and contracts
  • Title
  • Text
  • Reward (Credits / ... for later use)
  • Other Reward (Plain Text field for current use)

The contracts table needs to be adapted:

  • Remove reward columns from contracts table.
  • Remove completer columns from contracts table.
  • One-To-Many relationship between objectives and contracts

The following stuff needs to be done:

  • DB Tables as specified above
  • Split Up the current syndie contract controller into multiple smaller controllers:
  • ContractController - Controller for the overall contract (Title, Description, Subscriptions, Read-Only objectives and possibly a timeline for the comments)
  • ObjectiveController - Shows objectives and provides a interface to add / edit / complete / delete them
  • CommentController - Shows the comment timeline and provides a interface to post comments and completion reports. Also allows to link objectives to completion reports, link users to completion reports
  • Views for the new Controllers:
  • Contract Overview (Possibly with timeline)
  • Objective Overview + Add/Edit Page
  • Comment Timeline + Add/Edit Page
  • Optional: New tab that displays the users that completed the contract and the objectives they completed

Whitelist Log access

Add the ability to access the whitelist logs from the webinterface without having to revert back to the site logs.

Right now changes to the whitelist are logged to the a db table, but you cant access that table via the webinterface

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.