benoit sigoure lwzbplrdeepitafr user authentication used allow forcestop builds users also attach patch force build request buildbotsourcestamppy sourcestamp__init__ enhance documentation make_force_build_form add fields upload patch specify patchlevel buildbotstatuswebbuilderpy statusresourcebuilderforce handle new fields form allow patches authenticated users signedoffby benoit sigoure buildbotsourcestamppy 3 buildbotstatuswebbasepy 17 buildbotstatuswebbuilderpy 30 3 files changed 41 insertions 9 deletions diff git abuildbotsourcestamppy bbuildbotsourcestamppy index 69d3c30a388014 100644 abuildbotsourcestamppy bbuildbotsourcestamppy 127 128 class sourcestamputilcomparablemixin none build head revision given branch revisionrev patchspeclevel diff changesnone checkout rev apply patch source cpatch ppatchlevel useloginpassword form_type methodpost enctypemultipartformdata form_attach make_rowbuild patch make_rowpatch level else form_attach form_type data force build fill following fields click force build button forceurl click force build button forceurl form_type return data make_name_login_password_formuseloginpassword make_rowreason build 976 1097 def make_force_build_formforceurl useloginpassword make_rowrevision build form_attach n colormap diff git abuildbotstatuswebbuilderpy bbuildbotstatuswebbuilderpy index e028c9d900a33f 100644 abuildbotstatuswebbuilderpy bbuildbotstatuswebbuilderpy 12812 12826 class statusresourcebuilderhtmlresource onelinemixin reason reqargsgetcomments 0 branch reqargsgetbranch 0 revision reqargsgetrevision 0 patch reqargsgetpatch 0 patch patch_level reqargsgetplevel 10 try patch_level intpatch_level except valueerror todo tell web user request invalid return redirect patch patch_level patch has_patch yes else has_patch patch none r webpage force build button pressed sn name reason logmsgweb forcebuild builder branchs revisions user selfbuilder_statusgetname branch revision name r webpage force build button pressed patch sn name reason has_patch logmsgweb forcebuild builder branchs revisions user patch selfbuilder_statusgetname branch revision name has_patch selfbuilder_control todo tell web user request denied 1446 15810 class statusresourcebuilderhtmlresource onelinemixin selfauthuserreq todo tell web user request denied return redirect else patch logmsguser authenticated discarding patch patch none keep weird stuff branch revision strings todo centralize somewhere 1647 1827 class statusresourcebuilderhtmlresource onelinemixin buildbotchangeschangeschange instance doesnt really fit use case requires list changed files tedious compute stage sourcestampbranchbranch revisionrevision sourcestampbranchbranch revisionrevision patchpatch req buildrequestr selfbuilder_statusgetname try selfbuilder_controlrequestbuildsoonreq 1535654gdd5ec fri 08 aug 2008 093728 0100 buildbotdevel patch 1011 allow patches submitted web interface