jeffrafter / castle Goto Github PK
View Code? Open in Web Editor NEWKnight Foundation RSS And News on Cell Phones (RANC) by DataDyne
Home Page: http://github.com/jeffrafter/drawbridge-server
License: Other
Knight Foundation RSS And News on Cell Phones (RANC) by DataDyne
Home Page: http://github.com/jeffrafter/drawbridge-server
License: Other
We should warn when long feed URLs are truncated. Otherwise they will not work and no one will know why. The default limit is 255 characters for a string field. For example:
Looking for a way to group users (e.g. DataDyne users, Free Entel Users, Farmers) etc.
Needed to be able to make edits, especially for system messages which are set to be delivered in the future. This feature is similar to the feature request for full auditing/rewriting of incoming RSS feeds prior to delivery.
It should check News, then Sports, then Culture the first iteration, then Sports, Culture, News, etc.
First column: display Name || email || ''
Add column: details
If this is included in the message then the characters should be counted when editing
Prevent anyone from editing if not admin
Deliver them to everyone if there are 5 positive ratings
This is what the process list looks like:
$ ps aux | grep ruby
root 2521 0.0 0.0 7940 80 ? Sl Sep24 0:06 /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/ext/apache2/ApplicationPoolServerExecutable 0 /opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/bin/passenger-spawn-server /opt/ruby-enterprise/bin/ruby /tmp/passenger.2509
deploy 12714 0.0 0.0 0 0 ? Z 06:22 0:01 [ruby]
deploy 12756 0.0 0.0 56440 4 ? S 06:30 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12762 0.0 0.0 56440 4 ? S 06:36 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12772 0.0 0.0 56444 4 ? S 06:42 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12783 0.0 0.0 56436 4 ? S 06:48 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12789 0.1 0.0 56444 4 ? S 06:54 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12805 0.1 0.0 56436 4 ? S 07:00 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12812 2.9 3.9 54400 21824 ? D 07:06 0:18 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:deliver
deploy 12813 2.6 0.3 53372 2092 ? D 07:06 0:16 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12818 0.5 0.4 56444 2512 ? D 07:12 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:fetch
deploy 12819 0.5 0.5 56420 2864 ? D 07:12 0:01 /opt/ruby-enterprise/bin/ruby /usr/bin/rake feeds:deliver
deploy 12835 0.0 0.1 1916 592 pts/0 S+ 07:16 0:00 grep ruby
Example was Berna. This seems rare and unlikely to be triggered in the wild
The new entry page is a bit austere, please add more comments on how the message will be constructed.
D, [2009-09-28T22:50:20.985621 #32159] DEBUG -- : :sender: +[HIDDEN]
D, [2009-09-28T22:50:20.985757 #32159] DEBUG -- : :sent: Mon Sep 28 22:50:20 -0400 2009
D, [2009-09-28T22:50:20.985885 #32159] DEBUG -- : :received: Mon Sep 28 22:50:20 -0400 2009
D, [2009-09-28T22:50:20.986002 #32159] DEBUG -- : :text: Nacionales
D, [2009-09-28T22:50:20.986164 #32159] DEBUG -- : Processing message with the ping handler
D, [2009-09-28T22:50:20.986326 #32159] DEBUG -- : Processing message with the I love you handler
D, [2009-09-28T22:50:20.986457 #32159] DEBUG -- : Processing message with the remote handler
D, [2009-09-28T22:50:22.235710 #32159] DEBUG -- : Error sending to remote server: There was an error handling the message with handler Message::AddHandler: undefined method title' for nil:NilClass /var/www/castle/releases/20090928233350/app/processors/processor.rb:87:in
handle_command'/var/www/castle/releases/20090928233350/app/processors/processor.rb:82:in each'/var/www/castle/releases/20090928233350/app/processors/processor.rb:82:in
handle_command'/var/www/castle/releases/20090928233350/app/processors/processor.rb:18:in run'/var/www/castle/releases/20090928233350/app/processors/processor.rb:100:in
until_halted'/var/www/castle/releases/20090928233350/app/processors/processor.rb:99:in catch'/var/www/castle/releases/20090928233350/app/processors/processor.rb:99:in
until_halted'/var/www/castle/releases/20090928233350/app/processors/processor.rb:15:in run'/var/www/castle/releases/20090928233350/app/controllers/inbox_controller.rb:9:in
create'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in send'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:1331:in
perform_action_without_filters'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/filters.rb:617:in call_filters'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/filters.rb:610:in
perform_action_without_benchmark'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/benchmark.rb:17:in
ms'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/benchmark.rb:10:in realtime'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activesupport-2.3.4/lib/active_support/core_ext/benchmark.rb:17:in
ms'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/benchmarking.rb:68:in perform_action_without_rescue'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/rescue.rb:160:in
perform_action_without_flash'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/flash.rb:146:in perform_action'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in
send'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:532:in process_without_filters'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/filters.rb:606:in
process'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:391:in process'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/base.rb:386:in
call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/routing/route_set.rb:437:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:87:in
dispatch'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:121:in _call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:130:in
build_middleware_stack'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:29:in
call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/query_cache.rb:34:in cache'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:9:in
cache'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/query_cache.rb:28:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/activerecord-2.3.4/lib/active_record/connection_adapters/abstract/connection_pool.rb:361:in
call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/head.rb:9:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/methodoverride.rb:24:in
call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/params_parser.rb:15:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/session/cookie_store.rb:93:in
call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/failsafe.rb:26:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/lock.rb:11:in
call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/lock.rb:11:in synchronize'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/vendor/rack-1.0.0-git/lib/rack/lock.rb:11:in
call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/actionpack-2.3.4/lib/action_controller/dispatcher.rb:106:in call'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/rack/request_handler.rb:95:in
process_request'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_request_handler.rb:207:in main_loop'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb:378:in
start_request_handler'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb:336:in handle_spawn_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/utils.rb:183:in
safe_fork'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb:334:in handle_spawn_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:352:in
send'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:352:in main_loop'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:196:in
start_synchronously'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:163:in start'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/railz/application_spawner.rb:213:in
start'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:262:in spawn_rails_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb:126:in
lookup_or_add'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:256:in spawn_rails_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb:80:in
synchronize'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server_collection.rb:79:in synchronize'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:255:in
spawn_rails_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:154:in spawn_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/spawn_manager.rb:287:in
handle_spawn_application'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:352:in __send__'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:352:in
main_loop'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/lib/phusion_passenger/abstract_server.rb:196:in `start_synchronously'/opt/ruby-enterprise/lib/ruby/gems/1.8/gems/passenger-2.2.5/bin/passenger-spawn-server:61
D, [2009-09-28T22:50:22.23
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.