Qua info

Info and notices on the Qua instance, only relevant for users.

I have added syntax highlighting support for code blocks to Qua. The support is automatic in the sense that you do not have to do anything special other than writing a code block. All code blocks will be highlighted automatically.

There's three things you should know:

  1. All highlightjs languages are automatically supported (loaded on demand). This reference from highlightjs.org shows which languages are available.
  2. You can explicitly state the language after the ``` on the first line of your code block in case the language is not properly detected or you want to force another language.
  3. Specifying a language of nohighlight will force no highlighting in the block.

Example

Here's an example of a syntax highlighted block:

# This has syntax highlighting because python is loaded by default
def action_done(self, cr, uid, ids, context=None):
        logger.debug('Overridden mro_order.action_done called.')
        for order in self.browse(cr, uid, ids, context=context):
            self.pool.get('stock.move').action_done(
                cr, uid, [x.id for x in order.parts_move_lines])
            self.write(cr, uid, ids, {'state': 'done'})
        return True

The above block was entered into the editor as:


``` python
# This has syntax highlighting because python is loaded by default
def action_done(self, cr, uid, ids, context=None):
        logger.debug('Overridden mro_order.action_done called.')
        for order in self.browse(cr, uid, ids, context=context):
            self.pool.get('stock.move').action_done(
                cr, uid, [x.id for x in order.parts_move_lines])
            self.write(cr, uid, ids, {'state': 'done'})
        return True
```

I've update the instance to commit bdc4f2 which is release 0.3 of #writefreely

Relevant changes for Qua relative to our last update:

  • [NEW] Adminpanel, user id 1 is the admin
  • [NEW] Application overview page (admin)
  • [NEW] Editable About/Privacy pages (admin)

I've update the instance to commit 8e6d0d

Relevant change for Qua

I've updated the instance to commit 3595c81

Relevant changes:

I've updated the instance to commit 58d163d

Here's the relevant changes for Qua:

  • [NEW] there's now a way to have your password reset, you'll still need me to do it though. I'm counting there will be a way later on where you can do this yourself;
  • [FIX] the 'Scheduled' label was given to new posts by mistake