Giter Club home page Giter Club logo

atheme-fn's People

Contributors

abstractbeliefs avatar edk0 avatar glguy avatar ilbelkyr avatar mniip avatar mquin avatar spb avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

atheme-fn's Issues

Add a NS VHOST similar command that can be used by GCs with their group prefixes

I suggest to add a command similar to /NS VHOST that works for group contacts.

It can work by checking in a flie/DB if the user that is triggering the command is a group contact, and checking if the cloak that the GC is attempting to add/remove have a prefix of that group. After that, it can work like NS VHOST.

Example: /NS CLOAK <account> ON <group_prefix/something>

With this command the GCs will can manage the group cloaks by themselves and reduce the staffs work.

Another suggestion is create a group of trusted users that can use this command to add unaffiliated cloaks, so these users can help to give unaffiliated cloaks when no staff is online.

Projectserv: single line registration syntax for simple registrations

As discussed: it would be nice if there was a single-line syntax for easy project registrations, something like

/msg projectserv register projectname #channelspace cloakspace contact1 contact2 contact3

chances are that space is not a good delimiter because for projectname it is potentially valid (didn't check the code), feel free to take whatever is sane.

A single-line syntax for projects with multiple channel / cloak spaces is debateable, but I'd say the above will cover 90% of cases and make people very happy.

ProjectServ: Allow searching for projects by namespaces

Mainly by cloak namespaces. For instance, a command like /msg ProjectServ LISTCLOAK f* would list all projects with a cloak namespace starting with f, such as freenode with the freenode/* namespace.

Searching by channel namespaces would only be useful in edge cases where there exist no registered channels in a namespace (so ChanServ LIST and INFO don't help)

ProjectServ: Reflect PS marks in NickServ/ChanServ info too

If ProjectServ marks exist, these should be noted in the GCs' NickServ info and channels' ChanServ info.

For example, I imagine this looking like (changes in italics):

ChanServ: Information on #acme:
ChanServ: Founder    : ...
...
ChanServ: Flags      : ...
ChanServ: The #acme namespace is registered to the MARKED acme project
ChanServ: *** End of Info ***
NickServ: Information on gc-nickname (account gc-account):
NickServ: Registered : ...
...
NickServ: Flags      : ...
NickServ: Group contact for acme (MARKED; #acme; acme/*)
NickServ: *** End of Info ***

(The bold, all-caps "MARKED" fits in well with atheme which uses the same style in other messages to sopers regarding NickServ marks)

Obviously, this info should only be shown to sopers. PRIV_PROJECT_AUSPEX specifically seems like a good fit.

Projectserv: add metadata

Adding the following metadata to projectserv as discussed:

  • registration timestamp
  • person who registered it
  • primary flag for contacts
  • public flag for contacts

The latter should affect the output in chanserv / nickserv as well, as in: contacts marked as public should be listed if even a user without service privileges does a lookup. Something like

Public group contacts for foo: baa, bar, baz

Primary / Alt group contact on the other hand can be internal information, similar to displaying all group contacts in chanserv as well to privileged users.

ProjectServ: CLOAK: allow trailing slash

Right now, CLOAK ADD requires cloak namespaces to be given as just their base, e.g. foo or about/bar. People might try to give it as about/bar/ or about/bar/* and the intent with those seems clear enough, so it's probably reasonable to accept it and strip off the trailing /* when storing it.

CLOAK DEL probably should do the same.

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.