Commit graph

23 commits

Author SHA1 Message Date
Romain Bignon
b1f20b5489 fix bcall to to new behavior of do(), and fix QtDo too, and all Qt applications... 2014-10-10 17:34:48 +02:00
Laurent Bachelier
7be9a6468b logging: Create a new level DEBUG_FILTERS
This is a cleaner approach that requires less configuration
in other applications.
This also easily allows us to have another color.

Many checks were made on being exactly at the DEBUG level, they were
fixed to also check on being below DEBUG (i.e. DEBUG_FILTERS).
2014-10-07 17:11:09 +02:00
Romain Bignon
e025fb0b20 rename ICap to Cap (closes #1424) 2014-07-05 17:33:44 +02:00
Romain Bignon
b99d599aa9 remove parameter max_results from all capabilities 2013-07-27 23:40:24 +02:00
Laurent Bachelier
7094931c92 Easy spacing fixes, trailing stuff
Remove useless trailing \
Remove trailing spaces
Add missing empty lines

autopep8 -ir -j2 --select=E301,E302,E502,W291,W293,W391 .

Diff quickly checked.
2013-03-16 00:54:55 +01:00
Clément Schreiner
0ccae70238 Remove useless Revision's attribute: 'revision'. 2012-03-26 11:47:31 +02:00
Clément Schreiner
e790778f6a Fix typo. Makes loadButton enabled again after loading has failed. 2012-03-25 12:56:00 +02:00
Clément Schreiner
5daf71effe Small UI fixes. Compatibility with Qt version < 4.7.
- error callback for loadHistory, to make the reload button enabled again after an error
 - remove descriptionEdit's placeholder (for compatibilty with earlier versions of Qt)
 - add placeholder text to descriptionEdit if supported by the user's version of Qt
 - set contentEdit read-only while loading a new page
 - saveButton was still showing "Saving" after saving had failed
2012-03-25 10:22:55 +02:00
Clément Schreiner
07c7b7b1be Code cleaning. Comments, methods renaming and other cosmetic changes.
- added doc strings to every method
 - showPreview -> loadPreview (for consistency)                                                        - _loadPage_cb -> _loadedPage (same for savePage)                                                     - _loadPage_eb -> _errorLoadPage (same for savePage)
 - try to limit lines to 79 columns
2012-03-25 10:22:55 +02:00
Clément Schreiner
4b8e2937be Make the 'load' button usable again after loading has failed. 2012-03-25 10:22:55 +02:00
Clément Schreiner
44ca257bae Add revisions at the end and not the beginning. Revisions are now shown in the correct order. 2012-03-24 20:54:09 +01:00
Clément Schreiner
f14f63daf2 Add 'History' tab, showing the current page's list of previous revisions. fixes #561 2012-03-24 20:14:39 +01:00
Clément Schreiner
5fe9273b2f More minor changes to the UI.
- the contentEdit widget is ReadOnly before a page has been loaded
 - the saveButton widget stays disabled after the page has been saved
2012-03-24 20:14:15 +01:00
Clément Schreiner
a1a68847bb Minor UI changes.
- The 'save' button is disabled and shows 'No changes' at first. Editing contentEdit's text
enables the button and makes it show 'Save'.
 - The 'save' button is disabled and shows 'Saving...' when the page is being saved, and stays
disabled until contentEdit's text has been changed again.
 - The 'save' button shows 'Saved' once the page has been successfully saved. fixes #560
 - contentEdit is readonly when the page is being saved
2012-03-23 09:53:57 +01:00
Romain Bignon
7e2bb91b3b change license to AGPLv3+ 2011-04-08 12:48:07 +02:00
Romain Bignon
3c6d651021 better errors management 2011-03-19 11:25:06 +01:00
Clément Schreiner
c63e608388 Fix title bar 2011-03-10 16:01:50 +01:00
Romain Bignon
38d6052afb add a button to configure backends 2011-02-26 11:47:01 +01:00
Clément Schreiner
69018eeff3 Adds drop-down list for choosing a backend. 2011-02-17 20:50:09 +01:00
Clément Schreiner
cbe44de033 showPreview() was not working as intended; fixed.
The preview text displayed in the previewEdit widget was the text of
the content opened from the wiki, and not the text entered by the user
in the contentEdit widget.
2011-02-16 19:54:19 +01:00
Clément Schreiner
6509d95659 Adds checkbox for marking edits as 'minor'. 2011-02-16 19:05:04 +01:00
Clément Schreiner
3cbb5671d3 Small fixes and changes in qwebcontentedit and ICapContent.
- content preview's html code is now cleaner
 - ICapContent.preview_content() renamed to ICapContent.get_content_preview()
 - tab "preview" was shown first when starting qwebcontentedit. Fixed.
2011-02-03 15:09:27 +01:00
Clément Schreiner
dcb2375fd1 New application qwebcontentedit
Status: ugly GUI, editing and saving a page mostly working,
preview support in progress
2011-02-01 15:08:39 +01:00