1 2014-10-30T09:03:59  *** greg_f has joined #moin-dev
   2 2014-10-30T09:08:47  <dreimark> moin
   3 2014-10-30T09:09:28  <dreimark> we have an issue with search. https://moinmo.in/MoinMoinBugs/fullsearch_pattern_shows_bad_gateway
   4 2014-10-30T09:09:49  <dreimark> I have tons of those requests, looks like a bot
   5 2014-10-30T10:44:40  <ThomasWaldmann> moin dreimark
   6 2014-10-30T10:45:26  <ThomasWaldmann> that rather looks like a 500 than "bad gateway"
   7 2014-10-30T11:41:58  <dreimark> ThomasWaldmann: yes, but it happens with the search example too on MM
   8 2014-10-30T12:56:30  *** waldi has quit IRC
   9 2014-10-30T12:57:28  *** ananasova has quit IRC
  10 2014-10-30T12:57:32  *** waldi has joined #moin-dev
  11 2014-10-30T12:57:32  *** waldi has joined #moin-dev
  12 2014-10-30T12:57:35  *** ananasova has joined #moin-dev
  13 2014-10-30T14:47:02  *** RogerHaase has joined #moin-dev
  14 2014-10-30T17:10:36  <RogerHaase> ThomasWaldmann: fix #468 move moin table and zebra styling to common.css; restyles all basic theme Admin and User tables https://codereview.appspot.com/165920043/ sample table view: http://www.digitalrockart.org/moin2/+admin/highlighterhelp
  15 2014-10-30T17:18:07  *** dave_largo has joined #moin-dev
  16 2014-10-30T17:32:40  <ThomasWaldmann> RogerHaase: i am somehow a bit unsure how to deal with that stuff best
  17 2014-10-30T17:33:13  <ThomasWaldmann> the colours you define there would apply to all tables, no matter how the rest of the theme looks like
  18 2014-10-30T17:33:48  <ThomasWaldmann> (and also the style itself - it is now common, but does it fit to all themes we have / will have?)
  19 2014-10-30T17:51:56  *** pjoshi has joined #moin-dev
  20 2014-10-30T18:06:28  *** pjoshi has quit IRC
  21 2014-10-30T18:08:06  *** pjoshi has joined #moin-dev
  22 2014-10-30T18:08:24  <pjoshi> moin RogerHaase
  23 2014-10-30T18:09:34  <pjoshi> I have written an blog how to set up moin on local environment
  24 2014-10-30T18:10:11  <RogerHaase> ThomasWaldmann: moin, common.css is loaded before theme.css so theme can override any colors
  25 2014-10-30T18:15:02  <RogerHaase> ThomasWaldmann: colors can be fine-tuned later; had a thought of testing with a "green theme" just to see how difficult it would be to override all the key colors. But there are many more broken things
  26 2014-10-30T18:15:52  <RogerHaase> pjoshi: moin :)
  27 2014-10-30T18:42:01  *** forethinker has joined #moin-dev
  28 2014-10-30T18:42:48  *** forethinker is now known as yfunnel
  29 2014-10-30T18:44:35  <yfunnel> hi Thomas I figured it out. /Home would error out with 404 first and Flask dispatcher would generate a page for it. Since the root page is referred internally by `show_root()`, I just had to create another method and move the decorator there. The end result looks like:
  30 2014-10-30T18:44:54  <yfunnel> @frontend.route('/')
  31 2014-10-30T18:44:54  <moinBot> yfunnel: Error: "frontend.route('/')" is not a valid command.
  32 2014-10-30T18:44:55  <yfunnel> def front_page():
  33 2014-10-30T18:44:57  <yfunnel>     return app._send_static_file('index.html')
  34 2014-10-30T18:44:58  <yfunnel> 
  35 2014-10-30T18:45:00  <yfunnel> def show_root():
  36 2014-10-30T18:45:01  <yfunnel>     item_name = app.cfg.root_mapping.get(NAMESPACE_DEFAULT, app.cfg.default_root)
  37 2014-10-30T18:45:03  <yfunnel>     return redirect(url_for_item(item_name))
  38 2014-10-30T18:46:21  <yfunnel> I do not know how to document this on the doc as it requires modification of the source rather than the wikiconfig.py
  39 2014-10-30T18:47:03  <yfunnel> by the how do you usually debug? An IDE? I used pdb.set_trace()
  40 2014-10-30T18:54:19  *** greg_f has quit IRC
  41 2014-10-30T19:41:30  *** pjoshi has quit IRC
  42 2014-10-30T20:14:12  <RogerHaase> yfunnel: usual IDE: http://www.jetbrains.com/pycharm/ 
  43 2014-10-30T21:05:43  *** dave_largo has quit IRC
  44 2014-10-30T21:27:02  <yfunnel> thanks RogerHaase, that is my choice too. :D
  45 2014-10-30T21:56:54  *** RogerHaase has left #moin-dev
  46 

MoinMoin: MoinMoinChat/Logs/moin-dev/2014-10-30 (last edited 2014-10-30 09:15:02 by IrcLogImporter)