aboutsummaryrefslogtreecommitdiffstats
path: root/lib/main.js
Commit message (Collapse)AuthorAgeFilesLines
* Make script working with Mozilla bugzilla.Matěj Cepl2011-03-031-13/+20
| | | | | * Store all functions in an array and store just indexes in the SELECT * add pageMod options for other bugzillas
* Add a 'n' accesskey to Next link to next bugMatěj Cepl2011-03-021-0/+1
|
* Separate logging front-end into special content script.Matěj Cepl2011-03-021-0/+1
|
* Add unknown PCI ID to the clipboard.Matěj Cepl2011-03-021-0/+3
|
* Logger at least creates new records.Matěj Cepl2011-03-011-1/+0
|
* Nouveau doesn't dedicated data, so just the Chipset line is parsed.Matěj Cepl2011-02-241-1/+1
|
* Moved .js files from data/ to data/lib/ so that we don't mix data and code.Matěj Cepl2011-02-231-5/+5
|
* Fix fill-in magic.Matěj Cepl2011-02-201-1/+0
| | | | | | | | * changed regexp for parsing driver line, just PCI ID is relevant. * all magic is now in data * eliminated most unnecessary console.logs ... either changed to console.error or just removed.
* Make queryLocal and XML-RPC generally work again.Matěj Cepl2011-02-171-5/+2
|
* Fix the password recognition.Matěj Cepl2011-02-161-1/+2
| | | | | * doh! !== instead of === * also skip attachment.cgi page
* Bit of reorganizationMatěj Cepl2011-02-151-1/+2
| | | | Also add an event handler on changes in assigned_to input box
* Basic functionality working. Switching to this bug for my day-to-day work.Matěj Cepl2011-02-141-2/+10
|
* All functions should be (theoretically) either working or commented out.Matěj Cepl2011-02-101-7/+20
|
* Mainly add XML-RPC handlingMatěj Cepl2011-02-091-44/+50
| | | | | | | | | | | | In details: * add libbugzilla.makeXMLRPCCall * rewrite addAttachment and fixAttachById to use it * add RHOnMessageHandler to process RHBZ-specific RPC messages * fix the mess around getting passwords and not-provided passwords (there should be no password in a content script) * add libbugzilla.openURLinPanel and make showAttachment to use it * fix indentation of switch statements * remove JSLint strings, we need to fix the script, no screw up my ones
* This actually almost looks like working, so much I can file bugs.Matěj Cepl2011-02-011-14/+33
|
* Tons of fixes, we are almost in state that the primitive run is possible.Matěj Cepl2011-01-311-31/+6
| | | | | | TOOD: * The most important part is we have to run libbz.initialize() and wait until it is done.
* bzpage.js mostly doneMatěj Cepl2011-01-281-86/+18
| | | | | | | Also: * created libbugzilla.js for putting aside most RPCed functions * utils.js and color.js moved to data * tons and tons of restructing to make things work via RPC
* First rough removal of objects and transformation on plain functions.Matěj Cepl2011-01-201-3/+63
| | | | | | | | | TODO: * still this is all around the place * constructors has not been fixed * all require's were just yanked, but they are still used. * functions should be more self-contained ... tons of global variables everywhere.
* Move choice of particular content script objects to initialize().Matěj Cepl2010-10-251-8/+9
|
* Update to the latest Request APIMatěj Cepl2010-10-101-6/+6
|
* Remove notification method in utils.js, provided by the Jetpack module.Matěj Cepl2010-10-081-1/+0
|
* Fix Logger object to be self contained and use storage properlyMatěj Cepl2010-09-241-8/+1
| | | | | | | * there is really no other way than using module.storage directly Sucks! * all logger-related logic should go to the module and not be flying around (import TS, clear, isEmpty)
* Adding parsed backtraces seems to be functional. Yuhooo! \o/Matěj Cepl2010-09-211-1/+0
| | | | | * rhbzpage.addNewAttachmentRow finally beaten into submission * util.parseXMLfromString ... it is better to hide this
* Make skipping attachments workingMatěj Cepl2010-08-191-7/+13
| | | | | | | | - add attachment.cgi$ to skipMatches regexp - NotLoggedinException should be caught in main.js not in rhbzpage.js Fixes #41 New release 0.18
* Regexps for matching URLs is configuration and should be in JSON, notMatěj Cepl2010-07-291-5/+5
| | | | | statically included in data/ subdirectory. (cherry picked from commit 0728e2ad4809619cd3ba5215252a52df85697940)
* We check this.response.status everywhereMatěj Cepl2010-07-281-24/+28
| | | | - plus make jslint a little bit more sane (eqeqeq: false).
* That would be actually nice to actually return the email fromMatěj Cepl2010-07-271-2/+2
| | | | this.parseMailto when we actually collected it.
* Allow empty Xorg log analysisMatěj Cepl2010-07-191-3/+0
|
* Yet another fix for the chip magic.Matěj Cepl2010-07-191-6/+1
| | | | | - all constant data moved to this.constantData, so that they are available everywhere.
* Add a tool to analyze Xorg.0.log filesMatěj Cepl2010-07-181-4/+7
| | | | Fixes #1
* Make XMLRPC service independent of a bugzilla instance.Matěj Cepl2010-07-171-4/+1
| | | | | | | - activates password dialog only for bugzillas which actually need it - XML-RPC URL is stored in data/XMLRPCdata.json Fixes #23
* Make "Query upstream" button working again.Matěj Cepl2010-07-161-4/+0
| | | | Fix #22
* Cleanup shared constants to work over modules.Matěj Cepl2010-07-161-2/+0
| | | | Relates to #12.
* Bail out if we are not logged in.Matěj Cepl2010-07-161-23/+0
| | | | | | | | Adding our own exception and checking it. Move configuration button to special method of BZPage. A bit of cleanup. Fixes #20 (I hope).
* BSTPrefNS replace by BTSPrefNSMatěj Cepl2010-07-151-2/+2
|
* Overcome cache so that JSON configuration file is not stale (fixes #21).Matěj Cepl2010-07-141-0/+5
|
* Fix URL of the default JSON and make the script working even for non-me :)0.10Matěj Cepl2010-07-021-1/+2
|
* Change default URL of JSON configuration file.Matěj Cepl2010-07-011-1/+1
|
* All I want to do in my life is to make jslint happy.Matěj Cepl2010-07-011-2/+2
|
* Use 'request' module instead of home brewed load{Text,JSON} and httpPOSTMatěj Cepl2010-06-301-33/+38
|
* Move all constant data out of the main JSONMatěj Cepl2010-06-271-21/+19
|
* Make URL for JSON file configurable (fixes #9)0.4Matěj Cepl2010-06-241-2/+15
|
* Fix timesheet generation with bad URLs and get activated on the Freedesktop ↵Matěj Cepl2010-06-231-0/+1
| | | | bugzilla as well
* Some people, when confronted with a problem, think I know, I'll use regular ↵Matěj Cepl2010-06-221-3/+4
| | | | expressions.'' Now they have two problems.
* Make fixing MIME type again (includes creation of util.httpPOST)Matěj Cepl2010-06-221-3/+2
| | | | | | | | | - it is useful to have variable in the same module where the function using it is. - a lot of this magic and mystery - add this.win property - yuhooo, we have timer module, so I don't have to fish it from this.doc.defaultView (which doesn't work anyway)
* Add variable children of bzpage backMatěj Cepl2010-06-221-2/+9
|
* Make skipping over attachment.cgi work and more cleanupMatěj Cepl2010-06-221-3/+4
| | | | | | - improve regexp in main.js / skipThisPage - fix util.notification to not crash - remove non-ASCII characters from package.json
* Skipping over process pages && system notification.Matěj Cepl2010-06-211-17/+39
|
* Logger works and some cleanupMatěj Cepl2010-06-211-5/+6
| | | | | Juhuuu, logger works (almost, I haven't tested generation of reports yet) remove all trailing blank space
* Loads a bug page without crash!!!Matěj Cepl2010-06-191-1/+5
| | | | There is not jetpack. call in used modules.