Coder Social home page Coder Social logo

horris's Issues

로그 메시지에 링크가 있는 경우 상세화면으로 들어가지 못함

로그 메시지에 http 등의 링크가 있는 경우 상세 화면으로 들어가지 못합니다. 이럴 경우 즐겨찾기 등의 부가 기능을 사용할 수 없습니다. 로그 화면에서 링크로 바로 이동하는 기능을 비활성화시키고 차라리 상세화면에서 링크와 기타 기능을 활성화 시키는 것이 더 좋을 것으로 보입니다.

뭠마?

ㅁㅁ 나오면 사진까지 곁들여서 dis

assume here at a irc channel

HH:MM:SS         jeen | whitecatz: ㅁㅁ?
HH:MM:SS    hongbot | whitecatz: 뭠마? - http://keetekee.com/xe/files/attach/images/740/920/20100621_223317.jpg

http://tinyurl.com/5t3ew8t

Built-in & Plugins

  • Built in
    • IRC 서버로 접속하고 플러그인을 활성화 시킴
  • Plugins
    • Eng2kor => [eng2kor|e2k]
      • hongbot: eng2kor en-word
      • 영단어 및 영어 문장을 번역해서 보여줌(App::eng2kor 사용하면 되겠건희..)
    • Hit => [hit|dis]
      • hongbot: hit jeen
        • jeen을 디스함
    • Twitter
    • Echo => echo [on|off]
      • 남의 말을 따라함
    • RPC
      • IRC 가 아닌 다른 외부 채널로 부터의 메세지를 대신 보내줌

가볍게

모듈의존성을 줄이는게 더 이해하기 쉽고 좋겟다.
MooseX::Cmd 라던지..

유연하게..

  • IRC 만 고려하므로 adapter 필요없음
  • hubot 처럼 주요한 4개의 기능을 wrap
    • respond: 자신을 불렀을때
    • hear: 특정 단어가 언급되었을때
    • send: 그냥 말하는거
    • reply: 상대방한테 말하는거
  • 안쓰는 기능제거
  • Plugin 과 Core 를 분리
  • 간결한 namespace 유지
  • hubot 의 쓸만한 명령어 porting(ascii me...)
  • Carton 적용 - 필요없음

Log 를 기록하자

나중에 모바일 app 에서 사용할 수 있도록 Log를 기록해두고
JSON-RPC, XML-RPC 로 이용할 수 있도록 웹서비스도 같이하자

reverse escape?

11:16:40      yuni | hshong: https://twitter.com/#!/y0ngbin/status/53131612849836032                                                                               │   
11:16:42   hongbot | yongbin: BASIC->Pascal->C->SQL->Perl ( ->PHP->Java->Bash / Awk / Sed                         │   
                   | )->Perl->NOW->EOL // ( waste time period of my life ) #myjourneytoperl

Redirect 응답일 경우 최종 url 정보를 가져와야합니다.

Redirect 처리를 하면, 대부분의 Shorten URL 을 처리할 수 있습니다.

IRC

03:31 < yuni> IBM DeveloperWorks 에서 Cultured Perl keyword article list 입니다 : http://goo.gl/aGkIJ
03:31 -hongbot:#perl-kr- Moved Permanently [text/html; charset=UTF-8]

curl test

$ curl -I http://goo.gl/aGkIJ
HTTP/1.1 301 Moved Permanently
Content-Type: text/html; charset=UTF-8
Expires: Sun, 09 Jan 2011 18:35:52 GMT
Date: Sun, 09 Jan 2011 18:35:52 GMT
Location: http://www.ibm.com/developerworks/views/linux/libraryview.jsp?topic_by=All+topics+and+related+products&sort_order=desc&lcl_sort_order=desc&search_by=cultured+perl%3A&search_flag=true&type_by=Articles&show_abstract=false&sort_by=Date&end_no=100&show_all=false
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-XSS-Protection: 1; mode=block
Server: GSE
Cache-Control: private, max-age=86400
Age: 11
Transfer-Encoding: chunked

t/

테스트가 너무 부실해서 완성도가 떨어짐

예를들면, Horris::Connection::Plugin::Twitter 같은경우에 https url에 대해 처리를 못하고 있음

  1. t/plugin_<PLUGINNAME>.t 를 만들어서 테스트 강화

Plugin Relay

  • Relay
    • Morris의 Relay Plugin 을 Horris 용으로 porting

feed.pl

중복된 feed 를 insert 하고 있습니다.

Give a talk at FOSDEM ::  So, FOSDEM is approaching. If you don't know what FOSDEM is, it's a very big European technology co :: http://blogs.perl.org/users/sawyer_x/2011/01/give-a-talk-at-fosdem.html

일단 db 에 insert 하는 프로세스 종료시켰습니다.
수정되고 나면 재기동 하겠습니다.

relay 되는 채널의 irc 명령 wrap

봇에 /names 같은 명령어 전달하면 relay 되는 채널의 접속된 nickname 이라던지..
그런걸 대신 하게 해주면 좋겐건희..

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.