1. 31 Oct, 2013 2 commits
    • Andrew Price's avatar
    • Andrew Price's avatar
      Split out the common bits from the client bits: · 94f5a00a
      Andrew Price authored
      - Move as much of mw into src/client/ as possible
      - Make sure everything that mwserv and webclient require is in src/
      - Build a libmw.a from src/*.o to make linking easier
      - Rejig and simplify some Makefile rules
      This should help to make it clear which bits of code are shared and which are specific to the UI. We should avoid putting any user interface stuff into libmw.a as a rule.
      - Improve some file names (e.g. sqlite.{c,h} is a silly name)
      - Fix building the utils
      - Add sensible svn:ignores to src/client
  2. 19 Nov, 2012 1 commit
  3. 18 Nov, 2012 2 commits
  4. 23 Jul, 2010 1 commit
    • Andrew Price's avatar
      Some more reorganising to disentangle things from bb.h: · c95a2681
      Andrew Price authored
      - Move struct folder into folders.h
      - Move struct who into who.h
      - Move TRUE and FALSE defines into bool.h (suggestion: <stdbool.h> could obsolete this)
      - Move the i18n stuff into intl.h
      - Move SAFE_FREE into util.h and add TR's auto cleanup buffer type stuff too
      - Rejig #includes where necessary
  5. 20 Jul, 2010 1 commit
  6. 12 Jul, 2010 1 commit
    • Andrew Price's avatar
      Some header file refactoring: · ba92b7ee
      Andrew Price authored
      - Get rid of proto.h and split out its declarations into new .h files matching the .c files in which the definitions will be found
      - Use include guards in headers
      - Reorganise a couple of functions to make them static
      NB this is just the first step. Some of the additional headers can probably be obsoleted with further refactoring as they only contain one or two declarations - there's plenty of scope for better organisation of .c files (e.g. get_pass and other utility functions could be combined into a util.c).
  7. 23 Mar, 2007 1 commit
  8. 12 Dec, 2000 1 commit
    • Finn Wilcox's avatar
      · 3232dce1
      Finn Wilcox authored
      Added "permanent protect" function.  Help page coming soon.
      Main commands:
      !user protection <user>  - to give someone the priv, eg "/4" means they
      can give permanent protection up to level 4.  They will need the 'P'
      chatpriv as well for it to work.
      .protect <user> <0-4>  - to protect someone
      This is not an extension of the 'p' flag - it is a new one which has
      a similar effect.  Unlike the 'p' chatmode it is sticky.
      The who list format is changed slightly for people with the priv.
      Users without it shouldn't notice any difference.
      This feature is intended for keeping users gagged/frozen if necessary
      (eg if they are being abusive), without having to remove their privs.
  9. 28 Jun, 2000 1 commit
    • Chris Fry's avatar
      · d496df7d
      Chris Fry authored
      Should now have ability to have a function to detect when users log off/on.
      In .mwrc or included files, use:
      checkonoff <function>
      and when a user logs on/off this function will be called. USER will be set
      to username, and $1 will be '1', or '0' for on/off.
      this is called when a user logs on/off talker, not the board, as this is
      what effects scripts.
      Other simple fixes too. scrhelp bug fixed where it didnt detect screen
      ehight properly etc..
  10. 31 May, 2000 1 commit
    • Chris Fry's avatar
      · f212496e
      Chris Fry authored
      RPC calls now work.
      Usage: SENDRPC <user> <type> <message>
      Any user may specify a function to call on a certain message type. these
      have to be 'bound'.
      In scripts put:
      rpc <type> <function>
      rpc INIT rpc_init
      SENDRPC Fry INIT "Test"
      Any type not bound will not be called.
  11. 30 May, 2000 1 commit
    • Steve Hill's avatar
      · da7b3ef7
      Steve Hill authored
      New message type FORCE_IPC, which can be sent uding the SENDIPC script
      command.  When a client receives FORCE_IPC it calls the ipc script function
      if it exists.  i.e.
      to send "fish" to a user:
         SENDIPC user fish
      that user will then have a function called 'ipc', whcih will be executed
      the same as any other event - the text (in this case, 'fish') will appear
      as $1 and the USER command will return the name of the sender.
  12. 12 May, 2000 1 commit
    • Finn Wilcox's avatar
      Created new file special.h - moved prototypes for special flag · bf0070d0
      Finn Wilcox authored
      checks there.
      Added 'auto-ignore' function, intended for test users.  The new
      special flag '+D' will cause a message (FORCE_TESTING) to be
      broadcast whenever you log on, to all other logged-on users, making
      them ignore you automatically.  Also when a user joins the talker for
      the first time after logging on, they will check the 'who' list for
      anyone with the flag set, and ignore them.
      Test users do ignore each other (but not themselves).
      You can unignore a test user at any time, but you will automatically
      ignore them again if they log off and on.
      I don't recommend setting this flag for test users who log on/off
      frequently for the moment, since anyone running an earlier version
      will get 'unknown message type #20'.  A possible temporary workaround
      might be to broadcast these messages only to people with the 'D' or 'A'
      chatprivs, as they are more likely to be running the current cvs
      version.  Or to disable broadcasting (the checking when you join the
      talker will still work).
  13. 24 Mar, 2000 1 commit
    • Chris Fry's avatar
      · 54c2690e
      Chris Fry authored
      Updated all the 'user edit' stuff to show the old status of flags where
      needed. Also removed the 'clear ignorelist' chatmode, as this was silly, and
      have now stuck it in as a user flag (!user clearignore <user>).
      More stuff in the tnarg filter - I have added the FIRST GENERIC RULE!! wow!
      Tnarg being consistent! :)
  14. 29 Feb, 2000 1 commit
    • Chris Fry's avatar
      · 7708df99
      Chris Fry authored
      I've changed the way gag works to use mutually exclusive bits, and set the
      chatmodes 5-8, and g to UNUSED1-5. Atm, there are up to 16 gags using the
      bits 1-4.
      NOTE: While this works perfectly, be *very* warned against using it, as this
      will destroy any gag setting you may wish to set/get.
      I recommend backing up first, if you plan to CVS this. Either that, or
      update mw with this new version
  15. 25 May, 1999 1 commit
    • Chris Fry's avatar
      · 67076c38
      Chris Fry authored
      Added FORCE_WIZ, so that wiz, wall, and tells can't be ignored
  16. 03 May, 1999 1 commit