Code Monkey home page Code Monkey logo

mzhukov1973 / gogs-creeping-madness-injector Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 61 KB

A script, to be injected into Gogs installation (Gogs ─ https://github.com/gogits/gogs is a "painless self-hosted Git service"), that after a little while begins to screw with your mind. Especially effective after long hours spent in front of the computer: all-night coding sessions, work / academic emergencies, etc.. Not for the fainthearted.

Home Page: https://testbed2.cloud.tilaa.com:7443

License: MIT License

CSS 2.91% JavaScript 97.09%
gogs gogs-api git js injection joke creepy psychedelic mind-games harmless

gogs-creeping-madness-injector's People

Contributors

mzhukov1973 avatar

Stargazers

 avatar

Watchers

 avatar

gogs-creeping-madness-injector's Issues

ToDo list for 1.0.3.

ToDo for version 1.0.3:

  • Fix the issue with LongHours UI mod menu item in .../user/settings being not clickable if SSH Keys item is currently selected.
  • Include javascript.svg logo icon with the mod installation set, amend installation instructions accordingly.
  • Add a quick-settings menu drop-up into the standard Gogs footer.
  • Fill the settings page itself with properly named and annotated (even if yet unconnected) controls to set mod's parameters. Use either exactly the elements found in other settings pages or use Semantic (for now use version 2.3.1, later - guess it from the active Gogs installation itself).
  • Add a general enable/disable control to the .../user/settings page, to control if LongHours is to run at all upon injection and properly connect it to the data - this one control should be completely functional.
  • Make this JS logo change appearance to further indicate injections' status (i.e. not present, loaded, active, error(?), disabled, waiting to go active, modified settings, original settings) and add the same status as text popup, appearing on hover over the settings item.
  • In order to avoid depending on any external framework or library as well as for general lightness of code implement two-way coupling between settings values stored in global object's properties and UI controls for setting them, as found on .../user/settings page. Do so, by creating a proxy for the object with handler monitoring .set(...) calls and informing all concerned parties of any changes via custom events.
  • Implement some simple client-side storage for mod settings' values (at this point - not necessarily connected to the particular Gogs instalaltion)

Settings not navigateable to if "SSH Keys" setting page is open

As it says in the title.

It's weird but shouldn't be difficult to fix - for some reason clicking on LongHours UI mod menu item in settings page (.../user/settings, demo) works perfectly unless SSH Keys item has been clicked previously and is currently on display.

Adding it to the 1.0.3 milestone.

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.